troubleshooting Question

Pivot Table using SQL Server 2000 and ASP

Avatar of Craig Lambie
Craig LambieFlag for Australia asked on
Microsoft SQL ServerASP
12 Comments1 Solution2789 ViewsLast Modified:
Hi Experts,

I would ideally like to display some data in an ASP front end in a Pivot Table style Resultset.

I would like to put my Columns into the first column of a table, then the fields in the second column and the Values in the next.

Red   | Bucket  | 22
Red   | Spade   | 25
Blue  |  Bucket  |  23
Blue  |  Spade  |  24

Displaying as

             Red  |   Blue
Bucket   22   |     23
Spade    25  |     24

I have a variable number of fields, that change fairly frequently.
Apparently SQL Server 2000 doesn't support this type of thing.  I was hoping with ASP I could maybe do it?


Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 12 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 12 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros