Viewing 4 posts - 1 through 4 (of 4 total)
I have a similar problem. Were you able to solve the problem?
thanks
May 12, 2014 at 1:46 pm
This should work:
Select
Max(Case Color When 'Red' Then 'Red' End) as Color1,
Max(Case Color When 'Green' Then 'Green' End) as Color2,
Max(Case Color When 'Blue' Then 'Blue' End) as Color3
From #Temp
sam
November 6, 2006 at 11:44 am
here's microsoft's solution:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sqlxml3/htm/bulkload_7pv0.asp
hope it helps...........
October 19, 2006 at 1:49 pm
Viewing 4 posts - 1 through 4 (of 4 total)