Home Forums Article Discussions Article Discussions by Author Discuss content posted by Lowell Script all indexes as CREATE INDEX statements RE: Script all indexes as CREATE INDEX statements
anatshapira8
Valued Member
Points: 74
More actions
May 31, 2009 at 7:04 am
#1002480
ORDER BY SYSCOLUMNS.COLID should be ORDER BY sysindexkeys.keyno
Ordering by COlID causes wrong columns order in the key.