question

Vivek_iGATE avatar image
Vivek_iGATE asked

How to transform this table data into different column alias?

How can i transorm this table.. ![alt text][1] into this form using an SQL querry. ![alt text][2] I am using SQL server 2005 and need to transform the data into diff columns for Stamping values to pdf's dynamically. [1]: /storage/temp/1083-\capturesql2.png [2]: /storage/temp/1084-\capturesql3.png
sql-server-2005dynamic-sql
\capturesql2.png (5.6 KiB)
\capturesql3.png (5.9 KiB)
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
nidheesh.r.pillai avatar image
nidheesh.r.pillai answered
Please check the response on this thread. I think its similar, though not sure if it will be a perfect solution to the question posed. http://ask.sqlservercentral.com/questions/106668/please-help-me-the-following-requirement.html
1 comment
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

KenJ avatar image KenJ commented ·
that thread is a very good fit for this.
0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.