July 19, 2007 at 7:36 am
In Access you can create a crosstab query. Can this be done in T-SQL?
July 19, 2007 at 7:56 am
Here's a very basic explanation how to do that:
http://wvmitchell.blogspot.com/2007/03/pivot-tables.html
July 19, 2007 at 8:04 am
July 19, 2007 at 8:06 am
July 19, 2007 at 8:42 am
By the way, if you only need this for reports, you can leave the data nice and normalized, and let the report itself do the crosstab for you.
July 19, 2007 at 8:17 pm
I always try to start with Books Online... if you check the index for "cross-tab reports", you'll come up with a pretty decent explanation and some examples.
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply