- Joined
- 5/2/06
- Messages
- 12,529
- Points
- 273
[FONT=Verdana, Arial, Helvetica]Already posted this question in the approriate sql forum but like to see if anyone on Quantnet wants to take a shot at this.
I have a sproc that takes a date and produces something like this
1AAA
2AAA
3AAA
...
If I run this sproc against some dynamic range of dates, I will have this result
1AAA
2AAA
3AAA
1BBB
2BBB
3BBB
1CCC
2CCC
3CCC
1DDD
2DDD
3DDD
AAA,BBB are just to indicate they belong to the same date.
I'd like to have my result displayed in this way (one column for a date)
1AAA 1BBB 1CCC 1DDD
2AAA 2BBB 2CCC 2DDD
3AAA 3BBB 3CCC 3DDD[/FONT]
I have a sproc that takes a date and produces something like this
1AAA
2AAA
3AAA
...
If I run this sproc against some dynamic range of dates, I will have this result
1AAA
2AAA
3AAA
1BBB
2BBB
3BBB
1CCC
2CCC
3CCC
1DDD
2DDD
3DDD
AAA,BBB are just to indicate they belong to the same date.
I'd like to have my result displayed in this way (one column for a date)
1AAA 1BBB 1CCC 1DDD
2AAA 2BBB 2CCC 2DDD
3AAA 3BBB 3CCC 3DDD[/FONT]