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
 Transact-SQL (2000)
 Crosstab Order-by on the Pivot Column

Author  Topic 

mdelgado
Posting Yak Master

141 Posts

Posted - 2003-07-17 : 19:04:22
Hello all.

I was just using RovVolks Crosstab utility (very impressive) and I was wondering if anyone knows if theres a way to do a custom sort on the columns?

my columns are liste with daily hour ranges (i.e. "1-2pm,2-3pm,4-5pm," etc) and I need them to display in chronological order.

Any ideas?

many thanks.

robvolk
Most Valuable Yak

15732 Posts

Posted - 2003-07-17 : 20:08:10
There is an option that was added in the comments section of the article:

http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=6216

You'll have to do a lot of reading, but you'll find it, and it's worth it anyway, a lot of enhancements have been written by others.

Go to Top of Page
   

- Advertisement -