Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in SQL Server only
Search
Advanced Search
Forums
Product Launch
Updates
Today's Posts
Member List
Calendar
Home
Forum
Topic
SQL Server
How to convert rows into different columns
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
kirankumarn
New Member
Join Date:
Jun 2009
Posts:
31
#1
How to convert rows into different columns
Nov 20 '09, 09:56 AM
How to convert rows into different columns
Thanks in advance
ssnaik84
New Member
Join Date:
Aug 2009
Posts:
149
#2
Nov 20 '09, 01:15 PM
Look at
how to use Pivot and Unpivot
Comment
Post
Cancel
nbiswas
New Member
Join Date:
May 2009
Posts:
149
#3
Nov 21 '09, 09:14 AM
It can be achieved in more than I way..depending on the situation.
Prior to PIVOT & UNPIVOT available since Sql Server 2005, the row column transposition was done by using case statement(among other alternatives).
Have a look
Pivot Table Data in SQL Server 2000 and 2005
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment