Here's an example of my data:
ID VALUE
100 A
100 B
101 C
101 D
I want the result to be:
ID VALUE1 VALUE2
100 A B
101 C D
There are always only 2 values for each ID.
I am using SQL 2000 so PIVOT is not an option, besides which this isn't exactly similar to the examples of pivots/crosstabs I've seen in BOL and elsewhere.
Thanks.
ID VALUE
100 A
100 B
101 C
101 D
I want the result to be:
ID VALUE1 VALUE2
100 A B
101 C D
There are always only 2 values for each ID.
I am using SQL 2000 so PIVOT is not an option, besides which this isn't exactly similar to the examples of pivots/crosstabs I've seen in BOL and elsewhere.
Thanks.