Using MS SQL Server 2005, I want to display instances of data horizontally. For example if I choose
select membid, membtype from membership where membid = '0001' I would get
0001 c2 (0001=membid, c2=membtype)
0001 c3 (0001=membid, c3=membtype)
Is there a way to set up an sql statement to display the data to read like this?
0001 c2 c3
select membid, membtype from membership where membid = '0001' I would get
0001 c2 (0001=membid, c2=membtype)
0001 c3 (0001=membid, c3=membtype)
Is there a way to set up an sql statement to display the data to read like this?
0001 c2 c3