Camillia
asked on
Displaying column data
I have a stored proc that brings back data like this:
Id, Name, Code, Quantity
1 x c1 2
2 y c2 5
3 z c1 10
I want to have it like this: basically, i want to have "Code" as the column header with "quantity" under it. I dont want to have a olumn for code and a column for corresponding quantity. Doable??
id, Name, c1, c2,
1 x 2 0
2 y 0 5
3 z 10 0
Id, Name, Code, Quantity
1 x c1 2
2 y c2 5
3 z c1 10
I want to have it like this: basically, i want to have "Code" as the column header with "quantity" under it. I dont want to have a olumn for code and a column for corresponding quantity. Doable??
id, Name, c1, c2,
1 x 2 0
2 y 0 5
3 z 10 0
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER