![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I do a: SELECT * FROM xxx And Get: Date Place Sum A M 1 A O 3 A P 2 B O 5 B M 4 B P 2 And I want it to look like: Date M O P A 1 3 2 B 4 5 2 Can you think of an EASY way to do this? I can do it with a cursor that constructs a SQL statement, which I EXEC, but the 8000 character limit may prove to be a limiting factor. sp execsql is somewhat messy for the nature of this issue. Any input is appreciated. Thanks in advance. -- |
#3
| |||
| |||
|
|
I do a: SELECT * FROM xxx And Get: Date Place Sum A M 1 A O 3 A P 2 B O 5 B M 4 B P 2 And I want it to look like: Date M O P A 1 3 2 B 4 5 2 Can you think of an EASY way to do this? I can do it with a cursor that constructs a SQL statement, which I EXEC, but the 8000 character limit may prove to be a limiting factor. sp execsql is somewhat messy for the nature of this issue. Any input is appreciated. Thanks in advance. -- |
![]() |
| Thread Tools | |
| Display Modes | |
| |