How do you include static text in select statement in Dynamic pl/sql

I want to include some atatic text and get the output of 4 columns joined with a ":" delimiter within them in a select statement built using Dynamic PL/SQL. How do I build it.
e.g.
Normal select statement would be
select 'MY SKU IS : ', col1||':'||col2||':'||col3||':'||col4 from table1 where ....where condition
and output looks like :
MY SKU IS A:B:C:D
MY SKU IS a:b:c:d
Dynamically I have -
SQL_Stmt := 'select 'MY SKU IS : ', col1||':'||col2||':'||col3||':'||col4 from table1 where '|| wherecondition;
I understand that this does not work because the single quote terminates the string. But my question is how do I achieve the same result with dynamic PL/SQL ? How do I include the static strings and the delimiters. I have tried using double quote, '\'....
????

SQL_Stmt := 'select ''MY SKU is ' || col1 || '':'' ||
                                     col2 || '':'' ||
                                     col3 || '':'' ||
                                     col4 ||
             ' from table1 where ' || wherecondition;

Similar Messages

  • How do you set the text of a Hyperlink component in code

    I am using Visual Web pack in NB 6.0. How do you set the text of a hyperlink component in code?
    Please see screenshots at
    http://coba.usf.edu/departments/isds/faculty/agrawal/projects/java/
    I have a hyperlink in a grid panel. I am using
    hyperlink1.setText("Hello"); in prerender(),
    but the Hyperlink shows up with the text "Hyperlink", whereas I was expecting "Hello". However,
    hyperlink1.setUrl("http://www.usf.edu"); works as expected.
    I tried nesting a static text in the hyperlink as suggested in the Creator guide (ed 2, Google project). I deleted the "Hyperlink" text in the properties editor but then the page turned out blank.
    Thanks
    Manish

    Hi Manish,
    Great to know you were able to fix your issue. The following blog entry has the list of resources you would like to look at for future.
    http://blogs.sun.com/NetBeansSupport/entry/useful_resources_for_visual_web
    Thanks
    K

  • How do you change the text font on the Droid Global Phone

    How do you change the text font on the Droid Global Phone. I would like it to be darker (like bold)

    Hi.  
    Below I have provided you with the steps to change your font settings.
    From the main menu
    Select Settings
    Select Display Settings
    Select Font Style
    You can select from what is available, 
    Or you select [Get Fonts Online] to find something you want.
    Thank you,

  • How do you get the text box text properties dialog box to appear on a MAC?

    how do you get the text box text properties dialog box to appear in Adobe Reader XI on a MAC? I know windows is Ctrl-E but can't figure out what to hit for Mac.

    Right-click the toolbar and you should find it there (including the short-cut, which is probably Cmd+E).

  • How do you edit document text in pdf in Acrobat Pro 11 Mac?

    How do you edit document text in pdf in Acrobat Pro 11 Mac? I know I can do it in the Windows version, but can't find same tool in Mac.

    Should be the same but it isn't. I have included a screenshot of my tools choices in both my Mac and PC versions - they are totally different.
    Mac version
    PC Version

  • How do you undo highlighted text in adobe for iPad?

    How do you undo highlighted text in adobe for iPad?

    Touch and hold the highlight that you added until the menu pops up and select "Clear".

  • How do you forward a text message with pictures to another mobile user

    How do you forward a text message with pictures to another mobile device?

    Howdy Greg,
    It sounds like you have some texts with images attached you would like to forward to another device. If the it can receive text messages, use these steps:
    Send messages with your iPhone, iPad, or iPod touch
    How do I forward a message?
    To forward a message, tap and hold the message bubble, then tap More.
    Tap to select the message you want to forward, then tap  and select the person to send it to.
    If the receiving device does not have the ability to receive text messages, you can also email them to an account setup on it by first saving the message to your phone:
    How do I save a photo from a message?
    Tap the photo, then tap .
    Then emailing it to an account setup on the device from the Photos app:
    Other ways to share photos and videos - iPhone
    Save or share a photo or video you receive.
    Email:  Tap to download it if necessary, then touch and hold the item to see sharing and other options.
    Thank you for using Apple Support Communities.
    Regards,
    Sterling

  • How can you change your line access selection?  I have found where you can change your plan selection, but can you change the line access fee or is that a set amount?

    How can you change your line access selection?  I have found where you can change your plan selection, but can you change the line access fee or is that a set amount?

        DIVAB71,
    Great question. The line access fees for the account are a set amount and can not be changed unless you are going from a basic to a smartphone or vice versa. If you are wondering about adding the month to month discount if you are out of contract Ann154 has provided great information on how to access and add the feature.
    LindseyT_VZW
    Follow us on Twitter @VZWSupport

  • How do you get your text messages to not show on the screen when they come in

    How do you get your text messages to show on the screen when then come in?  My iphone 3s would just say the persons name and text message.  This says the persons name and the whole message

    Settings > Notifications > Messages > Show Preview - Turn to OFF

  • How do you turn off the auto select behavior when working with shape layers?

    How do you turn off the auto select behavior when working with shape layers?
    I am using either of the path selection tools to select only some of the paths on the layer. I have the proper layer targeted. I have the selection too auto select option turned off.
    If another layer has a path in that area, that layer becomes auto targeted and I get the wrong path. Turning off the layer is the only way to avoid this but then I have to  turn on the layer back on between making my selection and transforming to use the other layer as guide. Is there any way to stop this auto select? Locking the other layer does not stop the auto select, just prevents editing.

    As far as i know the move tool options don't have any effect on the path selection tools.
    You might try clicking on one of the path points or on the path itself with one of path selection tools and if you want to select multiple points
    you can shift click with the Direct Selection Tool or Alt click to select the entire path.
    more path shortcuts:
    http://help.adobe.com/en_US/photoshop/cs/using/WSDA7A5830-33A2-4fde-AD86-AD9873DF9FB7a.htm l
    http://help.adobe.com/en_US/photoshop/cs/using/WSfd1234e1c4b69f30ea53e41001031ab64-7391a.h tml

  • How do you change the text color in your junk mail folder

    How do you change the text color in your junk mail folder?

    Try Mail Preferences/Junk tab and under " When Junk Mail Arrives" click Performe Custom Action then advanced
    you will see the option for colors.
    Hope this helps

  • How do you change the text color in io7 from white to black?

    How do you change the text color on the home page in iO7 from white to black?  I tried to invert the color but that reverses everything inclufing pictures.

    Yes, you can. If you change your wallpaper to a very light or white color the text turns black.

  • How do you change the text in portrait mode.

    How do you change the text in portrait mode.  I can edit it in landscape, but when I change the view the Latin and photos can't be edited and swapped with my material.  Thanks

    iBA should be approached like this:
    layout in landscape
    edit in portrait
    - -  check in both on your device
    Use the 'disable portrait orientation' option (Inspector/Document) for layouts you just don't see working in any manner but landscape.

  • How do you take off text field

    How do you take off text field

    Hi again, sounds like you accidently hey CMD+F5 & turned on Voice Over, try CMD+F5 again, or see this...
    I think the issue is caused by the Apple Voiceover Utility. Part of its function for the visually impaired is to highlight the button or text item that it is going to speak. i suggest you turn off Voice over either going to System Preferences -> Universal Access and Making sure that voiceover is turned off. Alternatively press Apple(Command) F5 to turn it on & off. The black rectangles should go away. If you want voiceover but not the black rectangles. You can open the voice over utility and change the settings to the text is still spoken but without the highlighting.
    https://discussions.apple.com/message/5786829#5786829

  • How do you un-highlight text highlighted in error in Reader?

    How do you un-highlight text highlighted in error in Reader?
    Also How can you change the color of the highlighting?

    Yes i saw, but what i don't understand is that i don't see "Allow Page Breaks within Content" on my textfields :
    Maybe i am using an older version of livecycle.
    In an other order of idea, have you checked if the page was set to allow page breaks?

Maybe you are looking for