How do you insert a carriage return and linefeed on instruction Select?

I use SQL Developer (SQL single - No.-PL/SQL) and I cannot insert a CR and LF using tank (13), successfully Chr (13), char (10) or Chr (10) directly on a Select command line.

Ex:
Select ' stitch #1' | Tank (13) | Tank (10). Double "#2 string' a '.
Select ' stitch #1' | Chr (13) | Chr (10) | Double "#2 string' a '.

Thank you

Rick

Chr (13) | Chr (10) works.

It's just that the results grid does not display it. If you run in script, or copy and paste the result in a text editor you should see.

Tags: Database

Similar Questions

  • find sql_id using the sql statement, including the carriage return and tab...

    Hello. all.

    I wonder how to find sql_id using a sql statement, including transport retrun and tab space multiple.
    To be more precise,

    My sql is:

    Select
    col_a,
    col_b,
    ..
    ..

    I usually use the following query to find the sql_id

    Select sql_id in v$ sql where sql_text like 'MY SQL STATEMENT %.

    When MY SQL STATEMENT includes carriage return and tab space multiple, how can I do?

    Thanks in advance.
    Best regards.

    Hello

    Did you look at regular expressions? Use regexp_like instead of as.

    http://www.Stanford.edu/dept/ITSS/docs/Oracle/10G/server.101/b10759/conditions018.htm

    Kind regards

  • How can you talk to support direct and 24/7

    How can you talk to support direct and 24/7

    See the link below to contact Microsoft, which is a 24/7 support:

    http://support.Microsoft.com/contactus/?ws=support#TAB0

  • How can you recover files, folders, software and drivers after reinstalling windows xp family?

    original title: How can you recover files, folders, software and drivers after reinstalling windows xp family? Please help, I've lost everything!

    When the update Norton Internet Security 2009 to 2011 on reboot, windows cannot open.

    Root\systems32\hal.dll Windows prevented windows from opening.  My machine in a Dell dimension 8300.

    On a Dell website, I found a method of recovery if you can reinstall windows xp from cd.  I was able to do it, but lost all my files.  How can I recover all my fortune, images, software, drivers, etc.?  There must be a way to extract this information from the hard drive.  Any help is the material and can save my marriage!  Thank you.

    Hi MarkS_02127,

    Since you've reinstalled windows, you will need to re - install applications once again, you will be lucky (if you format the drive) data on your computer. You remember that location, it was in my documents? If yes it just open C:\Documents and settings and locate your old username, you will find your old desktop, Favorites and Documents.

    I hope this helps.

  • Use of the BAT file - how do you completely remove 150 phones and their associated DNs?

    How do you remove completely 150 phones and their associated DNs? All phones are in the same pool of device. I prefer the way bat.

    The CUCM version: 8.6.2

    Type of phones: 7962 phones - associated with the same device pool.

    Other questions: is there a way to remove all phones and their associated DNs with elegance when all phones are associated with the same mass of device? I rather not work with extensions and MAC addresses.

    Thank you

    Hug Lupas

    Hello hug,

    Using the BAT, it will take 2 - passes. 1 for unassigned phones and 1 for "DN". This is well illustrated in the attached doc;

    http://www.Cisco.com/c/en/us/TD/docs/voice_ip_comm/CUCM/bat/8_0_1/bat-80...

    Of course for the DN you could remove through the road map report > unassigned DN > select all > delete

    See you soon!

    SoC

  • Serial Port problems - carriage return and use as an executable file

    Hello

    I developed an application to send a few simple commands on the serial port and read the corresponding answers of a device that I am in communication with.  I have been using logical Port to watch the line TX of the serial port.

    By using the Visa configure Serial Port I set the stop character property allow true and used the hexadecimal value D trying to make the termination a carriage return characters.  When I sent the order, I'll send the cmd followed by Enter.  No matter if this property is set to true or the hexadecimal value is set to D for carriage return or line break is, the serial port would always send a line break.

    Then I got crafty and the string constant under normal display to hexadecimal display.  The ONLY way I could send a carriage return was manually putting 0x0D after ordering.  So my question is, why the Visa set up the Serial Port is not working correctly, and is there a better way to send a carriage return?

    My next issue is facing the construction of executable files.  I'm using LabVIEW 8.2 and wrote this program for another employee to use on his laptop computer.  I did install runtime Labview 8.2 and led to the executable that I generated.  I did-> the executable by clicking Tools build the executable.  The problem I noticed was that the executable would open and will work perfectly, but it would not send any data the serial port.  I then ran the executable on my laptop (which contains the full version of LabVIEW 8.2) and the serial port has worked well.  I guess my question is... Are there plug-ins that must be installed to use the serial port with the Labview runtime engine?  Or y at - it a step that I failed to do?

    Thank you

    Gary Still

    Not immerse in the first issue. The Knight will probably be galloping until shortly.

    For your second question, after building the executable, you must build the installer and includes support for the VISA. VISA is required for serial communication, and it does not accept American Express.

    It may be useful

    -AK2DM

  • How do you manage the user name and password for wss_username_token_over_ssl_client_policy?

    I invoke PurchaseOrderService, Version 2, as part of the Rel9. I use wss_username_token_over_ssl_client_policy security policy.

    How do you manage the Username and the password?

    Here is a code snippet:

           SecurityPolicyFeature[] securityFeature =
                new SecurityPolicyFeature[] { new SecurityPolicyFeature("oracle/wss_username_token_over_ssl_client_policy") };
    
            purchaseOrderService_Service = new PurchaseOrderService_Service();
    
            PurchaseOrderService purchaseOrderService =
                purchaseOrderService_Service.getPurchaseOrderServiceSoapHttpPort(securityFeature);
    
            WSBindingProvider wsbp = (WSBindingProvider)purchaseOrderService;
            wsbp.getRequestContext().put(WSBindingProvider.ENDPOINT_ADDRESS_PROPERTY,
                                         "https://prc-XXXXXXXX.oracleoutsourcing.com/prcPoEditDocumentOrder/PurchaseOrderServiceV2");
            wsbp.getRequestContext().put(WSBindingProvider.USERNAME_PROPERTY, "myUsername");
            wsbp.getRequestContext().put(WSBindingProvider.PASSWORD_PROPERTY, "myPassword");
    

    This doesn't seem to be a very safe way to manage the usernames and passwords.

    What is best practice?

    Thank you

    Arie

    You must use the store of credentials, for more details, refer to:

    --

    Jani Rautiainen

    Relationship with the developers of Applications in fusion

    https://blogs.Oracle.com/fadevrel/

  • How do you insert/remove the HDD in the T5500?

    I want to remove and put back in a hard drive.   I don't know how many screws and which screws to remove to do.

    I can't remove the screws more that I need to.  And I see that maybe if I unscrewed the wrong screw then black Assembly will detach the metal grame.

    http://i.imgur.com/Yd70pVl.jpg

    In the photo below, see two screws on top that are fairly close together. I let them ' cos I think they can join the Assembly and I don't want to unscrew the Assembly - the brackets that hold the hard drive, I don't have to

    And to the bottom of the image, you see two screws unscrewed, but the one I found that I could not even remove the hard disk.  And there is a little black thing between them that looks like a screw, but is not.

    I guess I could remove all 4 screws, but then the Assembly could come off.   For now, I just want to remove the hard drive.

    http://i.imgur.com/65fGtgv.jpg

    The album came out without removing ONE screw.

    Lift the blue ejector arm and the drive is kindof pryed out.

    The ejector arms have a PIN that goes into the screw holes to hold the reader in.  Once you raise the Lock ejector you lift a little far and out on this side.  The other side has fixed pins.

  • How can I add a carriage return to the output?

    I have a listBox with 15 values. This list box is linked to a text box. The text box print only selected items in the list box (thanks try67 for aid put in place). Now I want to do is have each of the items that are selected to appear separately instead of having one continuous line. I think what I have to do is add a transport returne (or two) between each selected item. Here is the code I have for the custom calculation script

    var v = this.getField("DiagnosisList").value;

    If (typeof v == 'string') event.value = v;

    else event.value = v.join (",");

    I triend/r/n addition but I keep getting syntax error. Thank you for any assistance.

    Replace this:

    v.Join (",");

    With this:

    v.Join ("\r");

  • How do you know sql_id knowing sql_id and series

    Hello

    I would like to extract sql_id knowing sql_id and series but with these select sql_id empy!

    Could someone help me please

    Select sample_time, session_id, session_serial #, sql_id, temp_space_allocated/1024/1024 temp_mb,.

    temp_space_allocated/1024/1024-lag(temp_space_allocated/1024/1024,1,0) (order sample_time) as temp_diff

    of dba_hist_active_sess_history

    -to v$ active_session_history

    where

    session_id = xxxxxx

    and session_serial #= yyyyyy

    sample_time asc order

    /

    Result:

    20/05/2015 23:09:42, 169XXXXXYYYYYY

    Thank you

    > that fill my undo tablespace

    A transaction can consist of several SQL statements.

    I could write a loop or a script that does

    INSERT INTO my_table VALUES (: 1,: 2:3).

    a million times before validation.

    Otherwise, I could write a loop or batch or script that is 1 million separate statements of SQL INSERT/UPDATE/DELETE before validation.

    So, technically, you cannot identify a SQL "fills the undo tablespace" you can find the session.  Then, you could, in theory, Pierce through the session history and find some / most / all SQLs it run and figure (by conjecture or test) how cancel each of these SQLs would have generated.

    Note: I say "some / most / all" because Oracle does not guarantee that you'll find all the SQLs in V$ ACTIVE_SESSION_HISTORY or DBA_HIST_ACTIVE_SESS_HISTORY.

    OTOH, it is possible that the large transaction consists of only 1 SQL making DML against 1 million rows.  Then, you are likely to find the SQL_ID of history.

    Hemant K Collette

  • How set you the clocks of servers and PCs in a Windows 2008 domain with windows clients 7 to synchronize?

    Hi, I hope someone can lead/help me with this seemingly simple problem.  I have a Windows 2008 domain with 2 servers and clients Windows 7 15.  We want the time synchronized on all the servers and PC locally, both internally, everything is like it is all that concerned.  Things seem to be turned off after a few minutes on each PC.  Can someone help me understand how to do this very easily and, possibly, without having to go to each PC and make changes?

    Thank you

    Tom

    Hello

    I suggest you according to the question in this forum and check if that helps:

    http://social.technet.Microsoft.com/forums/en/category/w7itpro/

    Check if that helps.

  • How do you ensure that your primary and standby Exchange

    Hi all

    How can I make sure that my recovery are applied to the waiting?

    Thank you

    I used:

    on autonomy in standby:

    Select sequence #, used from v$ archived_log;

    and which gives the necessary information, as I questioned the logs I've had on the primary by issuing:

    Select sequence # in the order of v$ log by sequence #.

    to get the last sequences and found that there is a difference between the result of the queries and it is because of the current in the primary is not transferred to the waiting and publishing on the primary:

    alter system switch logfile;

    the last sequence is now archived and transported to the waiting

  • How can you use a single image and change it in three different ways to export later?

    I am a new user of Lightroom 3.  How to use the same image and change several ways to produce multiple images of later export?  For example, I have a photo of a bride and groom.  I want to use this image and create a color image, a black and white image and end up with their hands.

    No, you can add them at any time.

  • How do you spend between 64 bit and 32 bit? (Win 7)

    I searched here, Adobe's Support, read the user manual and cannot find any information on the way in which we go from 64 bit to 32 bit.  I'm trying to create Time Lapse sequences and CS 5 tells me that I must be in 32-bit mode.  How do? I use a HP Pavilion dv7t-3300 i7 as Quad Core with 4 GB of RAM and Windows 7 Pro 64 bit.

    On Windows, you must leave one before the other.

  • Carriage return and line feed in MAX

    Hi all... I did a communnication with my scale and PC with sending the commands in the 232Analyzer software.

    As you sere CR and LF are software buttons in this test, but when I use Testpanel VISA, the "D\r\n" command does not work... Can anyone help?

    Thanks in advance...

    Sorry... It is resolved

Maybe you are looking for

  • 10 Windows not opening not .jpg created on mac

    I created a document page 1 to 5 Pages with 8 photographs and decided not to export in PDF, because the images are a bit soft size even as a whole. Instead, I screen-grabbed as a PNG and then converted to JPG with Pixelmator. Looks a lot like a mac,

  • Problem with flashing my acer aspire 7745G.

    When the flash on windows with ZIB_115_win.exe, my laptop is off. When I try to start it again, the brievly of flahed power led and the fan turned on/off. That's all. I think I need to Flash the bios with a USB STICK, but I can't find any rom BIOS of

  • Lost photos of my files, that they disappeared

    I went to properties on a group of pictures in my files, I looked in advanced, clicked on something and my photos disappeared and have no idea where they are. I have looked everywhere and can not find them. they are not yet in the trash.

  • Unable to connect to a wireless network with Dell Inspiron 1525 with Vista

    I set up a wireless about a week ago and have done with the following security features: WEP, activate only certain MAC address to connect and disabled to broadcast the SSID.  I was able to use it very well with my Mac computer using the airport, but

  • I can't find my PIN code. How can I get this number?

    My husband needs his PIN to reset his hotmail.  He also needs another personal question because he can't remember his response.