May 31, 2009 at 7:00 am
ORDER BY SYSCOLUMNS.COLID should be ORDER BY sysindexkeys.keyno
Ordering by COlID causes wrong columns order in the key.
June 1, 2009 at 7:00 am
What exactly is your question?
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply