How to concatenate a loop jump (line break).

Hello

I have to break the string concatenation who am store in a variable. I tried to use Chr (13) | Chr (10) in the pl/sql code, but am unable to break.

How can I break it

The code looks like in...

my variable declaration,

l_msgCLOB: = NULL;

Po_rec IN C1

LOOP

l_msg: = l_msg | Chr (13) | Chr (10) |

po_rec.e_type

|| '   '

|| po_rec.e_name

|| '   '

|| po_rec.e_count

|| Chr (13) | Chr (10);

END LOOP;

Use the code in this way, can't seem to get the result, but he is always ahead, I mean the concatenation of all lines in 1 rank.

the output should show up like this.

Abdelkader XXX 4

YYY bbbb 5

zzz cccc 6

but it's coming this way,

Abdelkader 4 of xxx yyy bbbb cccc 5 zzz 6

Hello

Instead of chr (13) /chr (10), you can try l_msg | »
' |, since it it html code.

-Sanjaya

Tags: Database

Similar Questions

  • How can I add a \n line break in a string?

    How can I add a line break in a string?
    \n doesn't seem to work.

    I'm passing a string to my message to the alert box, but the string is too long.

    Hello

    SQL> SELECT 'HELLO'||'WORLD' AS VALUE
      2  FROM DUAL;
    
    VALUE
    ----------
    HELLOWORLD
    
    SQL> SELECT 'HELLO'||CHR(10)||'WORLD' AS VALUE
      2  FROM DUAL;
    
    VALUE
    -----------
    HELLO
    WORLD
    

    BTW maximum lenth of alert is 200 characters. If character length will be more then 200 high he'll jump either you add new line or display the text as it is.

    -Clément

  • How to concatenate strings with the lines of a text file

    Hello
    I tried concatenate strings with the lines of a text file, but something is wrong with my code and I belive is the agruments I use in the cycle for. If anyone can help me I will appreciate it very much.
    My code is:
    [code]@echo off
    the value "input=C:\Users\123\Desktop\List.txt".
    for /f "usebackq tokens = *" % in (' input % ') do)
    the value 'str1 = C:\some directory\ ".
    the value ' str2 = %% ~ F '.
    the value "str3 = .pdf".
    the value "str4 = str1% str2% str3%.
    echo.%STR4%
    ) [/ code]
    and the text file is something like:
    121122 [code]
    122233
    123344
    124455 [/ code]
    But I get only one wrong answer and I have to run it like 3 times to get a real result and it is a mistake, the first two are empty spaces and gives the third one as the last line of the text file but repeated n times, where n is the number of lines in the text file.
    Result:
    [code] C:\Users\123\Desktop>concatenate.bat
    C:\Users\123\Desktop>concatenate.bat
    C:\Users\123\Desktop>concatenate.bat
    C:\some directory\124455.pdf
    C:\some directory\124455.pdf
    C:\some directory\124455.pdf
    C:\some directory\124455.pdf
    C:\some directory\124455.pdf
    C:\Users\123\Desktop>[/code]
    So if anyone has an idea about what is wrong please let me know.
    Concerning
    -Victor-

    Hi Victor,

    This forum is dedicated to the support of the Office of consumer Windows (fonts, colors, personal settings).  Since your question is about programming and usually outside the context of most of the customers, I suggest you post your question in the forums as http://msdn.microsoft.com - the Microsoft network to users will be more adapted to help you in your quest.
  • Line break when writing text using OutputStream file

    This seems to be a bit of a stupid question, but I am confused. I write a simple eventLog for my program that, at the present time, contains a few hexagonal channels. Since OutputStream has not an writeLine or writeln method, there is no innate line breaks, and they all appear on a single line. Pretty simple to fix... or so I thought. The line break character is rejected. I tried \n, \r, 0x0A, 0x0C, 0x0D, 0x1E,"(\n".getBytes), br = [] byte {/ * insert line break ratings here host * /}... Each is replaced by a small black box. How can I programmatically insert a line break in a .txt with OutputStream.write (*) file?

    Testing this on the generic "BOLD" 9000 Simulator.

    public void log (String entry)
      {
        //Circular Buffer logic
        if (eventLog.size () == 100)
        {
          eventLog.removeElementAt (0);
        }
    
        eventLog.addElement (entry);
    
        //TODO: Remove this
        flushLog ();
      }
    
      //Empty log to external file
      public void flushLog ()
      {
        FileConnection logWriter;
    
        try
        {
          logWriter = (FileConnection) Connector.open
                      ("file:///SDCard/BlackBerry/documents/log.txt",
                       Connector.READ_WRITE);
        }
        catch (IOException e)
        {
          //Debug
          System.out.println ("ERROR: File connection could no be created.");
          System.out.println (e);
    
          return;
        }
    
        try
        {
          try
          {
            if (!logWriter.exists ())
            {
              logWriter.create ();
    
              //Debug
              System.out.println ("Log Successfully created");
            }
          }
          catch (Exception e)
          {
            //Debug
            System.out.println (e);
          }
    
          //Debug
          System.out.println (logWriter);
          System.out.println ("Creating output stream...");
    
          OutputStream logOut = logWriter.openOutputStream ();
    
          //Debug
          System.out.println ("OutputStream successfully created");
    
          try
          {
            for (int count = 0; count < 100; count++)
            {
              //Debug
              System.out.println ("Log Write Loop: " + count);
    
              logOut.write (((String) eventLog.elementAt (count)).getBytes ());
    
              //test
              //byte [] br = {0x0A, 0x0C, 0x0D, 0x1E};
    
              String br = "\n";
              logOut.write (br.getBytes ());
            }
          }
          catch (ArrayIndexOutOfBoundsException e)
          {
            //Debug
            System.out.println ("Buffer not full");
          }
          catch (Exception e)
          {
            //Debug
            System.out.println (e);
          }
    
          logOut.close ();
        }
        catch (IOException e)
        {
          //Debug
          System.out.println ("Error writing event log: May be incomplete.");
          System.out.println (e);
        }
        finally
        {
          try
          {
            logWriter.close ();
          }
          catch (IOException e)
          {
            //Debug
            System.out.println ("Error closing log Stream");
            System.out.println (e);
          }
        }
      }
    

    Confused,.

    ~ Dom

    Windows, Notepad, whatever, expects CRLF for line breaks. \n gives you PMQ, which works very well on ' nix systems; \r\n is what you want. Clever Publishers to Windows will load of each convention, but not Notepad.

    BlackBerry probably isn't ' nix based. It's just a convention of line break.

  • Line break in the data field

    How to make a make a line break in a data field?

    In the contract manager, it appears as a line break, but when I print a report, there is no line breaks.

    It is a problem known to Oracle. They are working on a fix, but now know when the fix will be sent.

  • BlackBerry Smartphones SMS text - how to get a line break?

    Because unfortunately, the Enter key is programmed to send text, how can I get a line break in the drafting of a text message?

    Green-field wrote:

    Because unfortunately, the Enter key is programmed to send text, how can I get a line break in the drafting of a text message?

    SHIFT-ENTER key

  • $ GREP is now finding forced line break. How to disable.

    Somehow, my location indicator GREP $, which has always found just the end of a paragraph (Enter), is now suddenly find the end of a line ending with a forced line break (SHIFT + ENTER).

    So, if in GREP I seek

    Tiger$

    ... it is now to find all occurrences of the word Tiger that appear at the end of a paragraph and also who appear just before a forced line break.

    How to turn off this behavior?

    Could this be something to do with the 8.1 update?

    Thank you

    Ariel

    Win 7, 8.1 InDesign ME

    I think what he used to do... Try with an explicit negative lookahead:

    Tiger (?. \n)$)

  • How to display line breaks in vCO-WebView?

    Hello

    I just want to know how I can make it possible to display line breaks in a workflow with vCO-WebOperator-WebView presentation in the new vCO-Version 4.2.1?

    In the old version, it was easy, I just use the HTML < br > tag, but in the new version, it will be write it in text form, as you can see here:

    vCO-Wf-Pres_01.jpg

    When I use the vCO Client it will work when \n is used as you can see below, but not in the WebWiew (see above):

    vCO-Wf-Pres_02.jpg

    Can you please give me a hint.

    Best regards

    Rainer

    Set this property: com.vmware.o11n.webview.htmlescaping.disabled = true

    As described in the vCO 4.2.1 release notes.

    Christophe.

  • GREP: How to replace a paragraph with a manual line break break?

    Hello.

    I want to replace a few paragraph breaks (Enter) with manual line breaks (SHIFT + ENTER).

    How do I do that?

    Any help would be appreciated.

    GREP codes for all functions and special characters can be found in the help: help InDesign | Find/replace

    In this case, you do not want to change

    \r

    TO

    \n

    Be aware that this will stick together, paragraphs with all the consequences for its paragraph styles. I rarely do this (and then only unformatted text!) that I don't know yet if it will apply the above the following paragraph paragraph style, or vice versa.

  • In MXML, how can insert you a line break in the label of a mx:Button?

    In other MXML components, you can do things like use curly braces to incorporate scripts, use '& #13' and stuff like that in their text and label attributes.  Apparently the mx label attributes: Buttons are so locked that normal suggestions for other components do not work.  I might try just setting the labels in the main script of an MXML file or something, but it's a sloppy programming if it can be avoided (values of labels will be constant in this case).  Is there a way to put a line break in the attribute in MXML?

    Regarding the use "& #13", which gave me a line break at least, but any text to the right of this sequence has disappeared.  This makes me think that there may be a way to make this work, but so far I have not found the way.

    Thank you!

    The response occurred in the thread that I put at the beginning for this:

    http://StackOverflow.com/questions/11621952/in-MXML-how-can-you-insert-a-newline-into-the-label-attribute-of-a-mxbutton

  • Dynamic text called XML - how to create a line break

    I'm the filling of an area of dynamic text with xml elements that I call

    For example, I have two text fields and fill me help

    TextTime.texttest.Text = (bktrlXml.Row, [e.currentTarget.Ivar], .tester);

    TextTime.textName.Text = (bktrlXml.row [e.currentTarget.ivar]. NAME2);

    How do I fill in a dynamic text field using a combination of the two above?  I would also like to put a line break between the two elements.  I tried something like that and could not understand it

    TextTime.texttest.Text = (bktrlXml.Row [e.currentTarget.Ivar] .tester) + "/ n" (bktrlXml.row [e.cur rentTarget.ivar]. NAME2);

    Thanks in advance...

    -j

    Use the back slash, not oblique:

    TextTime.texttest.Text = (bktrlXml.Row [e.currentTarget.Ivar] .tester) + "\n" + (bktrlXml.row [e.cu rrentTarget.ivar]. NAME2);

  • How to add a line break in shortDesc?

    How to add a line break in shortDesc?

    Hey Danny,

    I think you can't... but I did two work around to achieve this goal:

    1. in IE7 (not Mozilla Firefox) If you type a space between the words will be automatically pass the new line like:


    shortDesc = "firstWord... spaces... Second word"/ >

    2. you can use popup like a ToolTip like:








    Sameh Nassar

  • How to keep line breaks in CSV, TXT doc then merge the data in CC?

    Hey,.

    There is a thread for this question, answered in 2009, then in 2014 (that wasn't there is still no ideal integrated solution):

    https://forums.Adobe.com/thread/415563?start=0 & tstart = 0

    But I was wondering if Indesign CC2015 made no progress in this regard...?

    Thank you

    Vanessa

    In simple, no words. With the exception of the variable QR codes, merge data has remained the same since that post.

    The current solution of:

    • put a delimiter in the source file, such as
      or | to represent the newline; then
    • Merge into a new indesign file and use find/replace to replace the separator for a line break

    Is always the simplest solution with the data merge.

    Data merge isn't the only way to import variable data. XML is another way, but the learning curve is steep. The rewards are worthwhile, but prepare to invest some many hours in learning!

    Otherwise, perhaps consider a third party plug-in which may be more appropriate than merge data.

    Rest assured, you are not alone. All I can suggest is to go to the feature request/Bug Report Form and the application as a feature request.

    Colin

  • FTP Dreamweaver CC2015 removes all line breaks in the php files. How can I fix this problem?

    When I upload a php file. The ftp transfer removes all line breaks and creates a continuous line of unique text. I need to download the code with all the line breaks in the original php file correctly.

    I found the problem.

    FTP of Dreamweaver CC 2015 program is not compatible with Yosemite 10.10.5 on all ftp servers.

    The new version of FileZilla (v 3.14.0) is also not consistent.

    Fetch 5.7.5 is fully compatible with Yosemite. With Fetch, I can download the files without any problems successfully.

    In their update, Fetch mentioned that the problem is not with all servers.

    I host on Unix servers with HostGator AMD Opteron processors running on an OS GNU/Linux 64 - bit.

    If you run Yosemite and ftp of Dreamweaver is ruin your line breaks, then use Fetch until Adobe can fix their problem.

  • How to remove the default line break when you export in XML format?

    Hello

    I'm using FDK 11 to convert a FrameMaker to XML file. Basic example as in the "guide structured Import/Export API Programmer" works very well. But all my files frame long paragraphs which, then the conversion is a line break after a length that appear to be the default. Hereby, the length of the XML and the readability becomes tedious. Here is the snapshot of the transformation and the piece of code used. Please let me know if there is a function that allows to eliminate this default behavior.

    #include "futils.h".

    extern VoidT Structured_ApiEmergency ((VoidT)) FARGS;

    extern VoidT Structured_ApiInitialize ((init IntT)) FARGS;

    extern VoidT Structured_ApiCommand ((command IntT)) FARGS;

    extern VoidT Structured_ApiNotify FARGS ((IntT notification,

    F_ObjHandleT docId, sparm StringT,

    IntT iparm));

    VoidT F_ApiEmergency() {}

    Structured_ApiEmergency();

    }

    VoidT F_ApiInitialize (IntT init) {}

    Structured_ApiInitialize (init);

    }

    VoidT F_ApiCommand (IntT command) {}

    Structured_ApiCommand (Command);

    }

    VoidT F_ApiNotify (IntT notification,

    F_ObjHandleT docId, StringT, IntT iparm sparm) {}

    Structured_ApiNotify (notification, docId, sparm, iparm);

    }

    Export.jpg

    Thank you

    Vincent

    [Message moved from General Discussion by moderator]

    Hi Vincent,.

    You use a structured application? If so, you might try reading/writing as a rule:

    writer

    {

    line break is 1000 characters;

    }

    .. .or whatever length you deem appropriate.

    Russ

Maybe you are looking for

  • Cannot open Firefox 19.0 to install after the download

    I'm currently under Firefox ESR 17.0.3. It cannot automatically update the latest versions and tells me to do it manually, but that no longer works. After d/l 19.0.1 and 19.0.2, all two setup .exe liquidation timing after opening almost complete, say

  • Pavilion P6680D: updated graphics card

    I have a HP Pavilion p6680d desktop computer and I was thinking about upgrading my graphics card to an Nvidia GeForce GTX 680 motherboard: Iona-GL8E MS-7613. It fits and what I need to change the power supply to operate.

  • Application blackBerry Smartphones 360, very disappointed that it didn't work and their e-mail support didn't work either

    This app is costly and doesn't seem to have a lot of support.  I went on their website and were a majority of unhappy customers. Too much in fact.  It is also much more expensive for the customer BB ($3.99) and begins to free for other applications.

  • Oracle Service Bus - how to create binary attachments?

    HelloI develop a Proxy service for retrieving binary data (of a BLOB in the database), and this must be sent in MIME attachment to anyXML service.Currently, I am assigning the data to $attachments / ctx:attachment / ctx:body - after using a legend Ja

  • SmartView Autodeployment Message

    Hi allI enabled Smart View Autodepoloyment in the EPM, but due to restrictions by IT, users do not have access to actually start the installation, so what I would do is to customize the warning message to direct them to IT for updates.Nobody knows wh