Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

how to transpose column into row

$
0
0

Hi,

I need to transpose column into row anyone can help me.

Eg:

NameQuantityDate
RM110020-06-2013
RM215020-06-2013
RM320020-06-2013
RM414020-06-2013

if i execute my SP i get data like the above but i need to get like below table.

Name20-06-201321-06-2013upto N Date
RM1100120
RM2150100
RM3200150

RM4

The Date should be dynamic from

140

100


Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>