• JStevenson1 (12/22/2010)


    I have several value in a column called test.

    Select Statement: Select Test From Abc

    Output: JonDoe

    Desired Output: 'JonDoe'

    How do I achieve desired output?

    Something like the following code? (assuming all you want to do is add the quotation marks...)

    Select ''''+Test +'''' From Abc



    Lutz
    A pessimist is an optimist with experience.

    How to get fast answers to your question[/url]
    How to post performance related questions[/url]
    Links for Tally Table [/url] , Cross Tabs [/url] and Dynamic Cross Tabs [/url], Delimited Split Function[/url]