I have a table as shown below.My question is:How can I convert columns into rows?BTW,I'm using Microsoft SQL Server 2005.
my input Data
ONAY_ID sip_RECno KULLANICI ONAY
1 1 user1 true
2 1 user2 true
3 1 user3 false
4 1 user4 true
Output would be
sip_RECno user1 user2 user3 user4
1 true true false true