Comma separated column output.

  • Hi There,

    I need a query which results the output as comma separated

    for example ,

    select name from tablename;

    say for example this produces the following,

    Name

    Jack

    John

    Smith

    I need the follwoing,

    Jack,John,Smith

    -------------------

    Thanks Many

  • Concatenating Row Values in Transact-SQL[/url]

    Need an answer? No, you need a question
    My blog at https://sqlkover.com.
    MCSE Business Intelligence - Microsoft Data Platform MVP

  • Koen Verbeeck (11/19/2013)


    Concatenating Row Values in Transact-SQL[/url]

    Thanks. good one teaches me a lot.

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply