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

selecting table columns as table rows

$
0
0

i have table structure like , please see the figure.

For each company for each account i have 12 period values as columns.

i want to extract 12 periods as 12 rows for each company for each account.

can anyone suggest any solution ?? 

I have say more that 20 companies and each have few hundred accounts.


h2007



Viewing all articles
Browse latest Browse all 23857

Trending Articles



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