Hi,
I want to show column value in single row. Is it possible? If it is,then how will I do it.
Thanks, in advance
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Lalit MPosted Sep 22, 2011, 12:32 AM
select * from dbo.Split('vitA, vitB, vitA, protein, vitB,vitA',',')
Pravin MorePosted Sep 22, 2011, 12:31 AM
Yes it is possible to show column as Row....You can Use PIVOT for it.
here is demo..................
http://www.simple-talk.com/community/blogs/andras/archive/2007/09/14/37265.aspx
hope u solve it.
Thanx,
Pravin.