Col to Row without temp table

  • Hi experts !

    Query

    Select cityname from city

    Result

    Cityname

    citya

    cityb

    cityc

    and so on....

    Required result

    Cityname

    citya,cityb,cityc,and so on...

    Thanks in advance.

  • I'm using SQL Server 2000 !

    Thanks a lot for the reply. This will work for me.

    🙂

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

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