Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 cross-tab

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2001-08-02 : 09:02:20
andrea writes "i've read about a cross-tab article, but i still have a problem: crate a cross-tab with non-aggregate values.
example:
Item_id (int) Attribute_code (Char 1) Attribute_Value (varchar 100)
--------------------------------------------------------------------
1 P (price) 1000
1 C (Color) Red
2 P 200
2 W (weight) 10

Attribute codes may vary between items.

Cross-tab
Item_id (int) Price Color Weight
--------------------------------------------------------------------
1 1000 Red <NULL>
2 200 <NULL> 10

have you already solved that problem?"
   

- Advertisement -