How to print the string as below

Hi all

I use Oracle database 12 c.

I have a string like 'FS, SO, NT, TS.

Select 'FS, SO, NT, TS' double Str;

Output is

Str

----------

"FS, WELL, NT, TS.

My requirement is, I need to print like this

Str

------

FS

THEN

NT

TS

How to do this?

Thank you

Su.GI

I found the result in the link below

Split single file delimited string in rows in Oracle | Lalit Kumar B

WITH DATA AS

(SELECT "word1 word2, mot3, mot4, word5, word6" double str)

)

SELECT trim (regexp_substr (str, ' [^,] +', 1, LEVEL)) str

FROM THE DATA

CONNECTION BY instr (str, ',', 1, LEVEL - 1) > 0

Thank you

Tags: Database

Similar Questions

  • How to print got string in buffer in a table at the front end?

    Hello. I want to print the string obtained in buffer in a table opposite end. I play serial with a machine, where I'm supposed to place an order to get the answer. The machine I'm trying to communicate has 6 cylinders, when I pass command 'b', it sends the values of the bottles as a string. Example: when 'b' is passed, I get "b 50.8 54.8 60.2 65.3 57.0 61.6" in buffer. I want to put these values in a table at the front end. Can you please give a tip / solution to my problem? I have attatched the vi. Thank you.

    Hi Madara77,

    Table is an array of shots, first think about how you can get the array from the string above,

    Here you need to parse the string correctly, for the string "b 50.8 54.8 60.2 65.3 57.0 61.6"

    1. remove the space first and the last, removal of b , (use the subset of the string function ( )

    2. now you have ' 50.8 54.8 60.2 65.3 57.0 61.6.

    3. now try to get the table on top of the string based on usage worksheet of array of strings

    (a) use the delimiter as space constant.

    Table 2D b) array type as a string

    Now, just wire this scoreboard table.

    It will be useful.

  • How to use the String with an external dispatchEvent event.target.name?

    ... I hope that the question of the title makes sense...

    On my stage, I have an external SWF loaded with a button. When you click the button dispatches the main event scene.

    On the main stage a listener can load a SWF it in a magazine called Gallery.

    The charger of the Gallery is also shared by the buttons on the main stage, who use the event.target.name chain to appeal to sovereign wealth funds with corresponding names.

    I use tweens to fade and, in the content of the Gallery when a key is pressed.

    --

    Loading of the FSV worked until I tried to create a universal function for the dispatchEvent buttons...

    The problem I have is that I don't know how to set the string to indicate to the newSWFRequest where the SWF file when triggered by external buttons.

    (I maybe do this wrong... but thought that the best way to load a SWF on the main stage from an external SWF was using dispatchEvent?)

    My code raises the event and the charger of the Gallery Faints, but then it does not find the new SWF:

    Error #2044: Unmanaged by the IOErrorEvent:. Text = Error #2035: URL not found.

    Please can someone help me understand how to make the point in the chain in the right direction? (I think that the errors only are in bold below)

    Code:

    var myTweenIn2:Tween;

    var myTweenOut2:Tween;

    var nextLoadS2:String;

    Listening external inclinometer shipped external event

    addEventListener ("contactStage", btnClickExtrnl);

    function btnClickExtrnl(e:Event):void {}

    nextLoadS2 =?

    myTweenOut2 = new Tween(gallery,"alpha",None.easeOut,gallery.alpha,0,0.2,true);

    myTweenOut2.addEventListener (TweenEvent.MOTION_FINISH, tweenOutCompleteF2);

    }

    Function universal BTNS

    function tweenOutCompleteF2(e:TweenEvent) {}

    myTweenOut2.removeEventListener (TweenEvent.MOTION_FINISH, tweenOutCompleteF2);

    myTweenOut2 = null;

    var newSWFRequest:URLRequest = new URLRequest ("SWFs /" + nextLoadS2 + ".swf");

    myTweenIn2 = new Tween (Gallery, "alpha", None.easeOut, gallery.alpha, 1, 0.2, true);

    Gallery.Load (newSWFRequest);

    Gallery.x = Xpos;

    Gallery.y = Ypos;

    }

    Thank you.

    If this code is on the timeline of a child of the main timeline of your external swf add parent 3rd in two lines with parent.parent.

  • How to get the string (specified by row and column) of txt file with labview

    Hello world

    How to get the string (specified by row and column) of txt file with labview

    THX

    As far as I know, a text file has no column.  Be more specific.  Do you mean something like the 5th word on line 4, where the words are separated by a space, and lines are separated by a newline character?  You can read from the spreadsheet String function and set the delimiter to a space.  This will produce a 2D channels table.  Then use the table to index and give the line number and column number.

  • How to concatenate the string with a digital command?

    Hello

    How to concatenate the string with a digital command?

    Thank you.

    I think I forgot to add the semicolon, what you can do is, drag the CONCATENATE function and add semicolon.

  • How to print the jobes username printed by printer usingnetwork

    Please how to print the user name on paper printed for each print job printed paper

    If you want on each page, you can explore the properties of the printer to see if your printer driver supports this.

    • Click Start
    • Click on printers and faxes
    • Right-click your printer
    • Click on properties

    From there, my printer does print... properties via buttons and then the Options page, but your printer may be different.

    Separation pages (page between each print job) can do a job for you, but I've never used them so I can't advise further. If all goes well, another contributor may be able to advise on this. Or you could Google "separator pages XP.

    Tricky

    EDIT: It seems that Shenan Stanley is ready to explore the pages of separation with you

  • How to print the page on WiFi printer using ideapad a1

    How to print the page on wifi printer using ideapad a1

    Cloud Print (available in the game store) use Google chrome to print from the A1 motorway. You must have Chrome installed on your computer. If not connected to Google (required) or your PC/Mac/Linux computer is turned off, it will be printed when you log-n.

  • How to print the contents of a hard drive?

    Title: list of files on a specific drive.

    How to print the contents of a hard drive?  I would like to be able to remove the old files, but it would be easier if I could print the content rather than scroll through the file by file.

    Hello

    These should help:
     
    How to save and print a list of directory for a file and the folder of Vista (Windows 7 is the)
    same)
    http://www.Vistax64.com/tutorials/114593-file-folder-directory-list-print-save.html

    How to add view and directory of print in the context Menu in Vista and Windows 7 file
    http://www.Vistax64.com/tutorials/146031-context-menu-add-view-print-file-directory.html

    Use this free program which is great:

    KarenWare - printer - free directory
    http://www.KarenWare.com/PowerTools/ptdirprn.asp

    How to add the feature print directory for files in Windows XP, Windows Vista or Windows 7
    http://support.Microsoft.com/default.aspx/KB/321379

    I hope this helps.

  • How to divide the string in bb-cascades

    1. I have a table of data as json

      {"RegistrationResult":"Registered Success:Empid:157:TableName:COMPANY156"}
      
    2. Now, how I want to split the show list view in qml and string as the follwing

      Success stories

      EmpID = 157

      TableName = COMPANY156

    3. Please tell the concept of cutting a string and show the result in qml

    I can get the result of the follwing method:

    {"RegistrationResult":["Registered Success","Empid":"157","TableName":"COMPANY156"]}
     
    

    But I do not know how to split the string for a first... Help, please...

    svmrajesh wrote:

    1. ,......"Registered Success:Empid:157:TableName:COMPANY156"}

    Take a look at QString docu

    Just do something like

    myString.split(':')

    and you get a QStringList and this QStringList is directly mapped to a table in QML JavaScript

  • How to avoid the string * empty * on new pushScreen

    Someone knows how to avoid the string * empty * coming on each press of the screen and instead * void * can I have my own channel at the same place... Please let me know its possible or not...

    Thank you

    read the API:

    http://www.BlackBerry.com/developers/docs/4.7.0api/NET/rim/device/API/UI/component/ListField.html#se... (java.lang.String, int)

  • How to print the date on the pictures

    Can someone advise please how to print the date the pictures on my HP C6380 All in one printer.  I managed to change the settings to do that before, but now it's me beating.  I have a fault if I can.

    Thus, because there is no date and time setting on the printer that you will use the software you have to super impose a time and date on the photo.  Then print it on the printer.

  • How to print the full path when you print photos with CS6?

    How to print the full path on the photo when printing photos with CS6?

    Hello

    You will need to use a Script to print the name of the file in Photoshop Cs6

    Something like Add file name as text layer "Julieanne Kost's Blog of »

    Concerning

    Assani

  • ADF: How to print the query and the query passed into the class executeQueryForCollection methof impl VO parameters.

    Hello

    Kindly let me know how to print the query, and the parameters passed to it? I tried with the params parameter in super.executeQueryForCollection (qc, params, noUserParams); but could not succeed.

    I need save the query and the parameters passed to it. Kindly help.

    Thanks in advance,

    Kalpana.

    Here you go

    Coding with Passion: Oracle ADF - Debug Mode object query with parameters

  • How to print the image in grayscale in the rich black?

    How to print the image in grayscale as PDF as black process only instead of CMYK?  I'm on FM10

    Ed,

    What file format you save the image in? It is important, as indicated by error. If you left it as a PSD, then FM performs a conversion to RGB. A TIFF or EPS file properly remains blank (i.e. on the plate of K). Other formats, such as PNG to grayscale are actually indexed color and solve RGB when FM creates the PDF file in the presence of plates of Spot and where the components are mapped to the CMY plates also.

    Here is a sample generated using SaveAsPDF with the CMYK option with the same 'gray levels' file saved in the format PNG, TIF and EPS in Photoshop (Note how the PNG isn't all there, on the plate K):

  • How to print the transaction validation sql?

    All,

    With the help of Studio Edition Version 11.1.1.3.0.

    I got a violation of primary key constraint that I can't quite understand. I can insert fine lines and everything looks very much like the page refreshes, but when I sign, I get the error. I would like to know what is committed to the database. I understand the problems normal display when your association is not composite: http://download.oracle.com/docs/cd/E14571_01/web.1111/b31974/bcadveo.htm#CEGJAFCF, but in my case, this one is.

    How to print the SQL that is generated when getDBtransaction.commit () is called?

    That should tell me why I get a command validation error (if that is what it is).

    Thank you
    Will be

    Add - Djbo.debugoutput = console for the properties of the project

Maybe you are looking for