Hi,
Could someone tell me how to flip an SQL Server 7 table. I want to convert Rows to columns, but we don't know how many rows exist for a key. There could be as many as 10 rows.
For example, Rows in a table are
Key, A
KEY, B
KEY, C
KEY, D
Desired Output is
KEY, A, B, C, D
Thanks for your help.
Regards,
Vinai
email: vinai.prakash@compaq.com
Could someone tell me how to flip an SQL Server 7 table. I want to convert Rows to columns, but we don't know how many rows exist for a key. There could be as many as 10 rows.
For example, Rows in a table are
Key, A
KEY, B
KEY, C
KEY, D
Desired Output is
KEY, A, B, C, D
Thanks for your help.
Regards,
Vinai
email: vinai.prakash@compaq.com