September 28, 2009 at 3:53 pm
I would look at the PIVOT/UNPIVOT functions in BOL, also you can use CASE statements to return the data you're wanting in a specific column position.
MJM
September 29, 2009 at 9:35 am
You can also take a look at the Cross Tab and Pivot articles linked in my signature line. They give you options in addition to the PIVOT function provided.
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
September 29, 2009 at 2:07 pm
Thanks, But can you write a sample query lafter ooking at my query.
September 29, 2009 at 2:08 pm
Thanks, But can you write a sample query lafter ooking at my query.
Viewing 4 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply