Column into row

  • i have table with onle column want to convert to row

    Table name - Test

    Column name field1

    data into table

    Filed1

    1

    2

    3

    I want output as 1,2,3

    There can mutiple record there is no fix so cannot d0 pviot

     

  • look up STRING_AGG()

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

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