How can we check that table have index or not ? if have how to find that index for a particular column for a table?
Regards, kumar
ordering by column name is wrong, you need to order by the position in the index, so order by clause should be tabname, indname and sys.index_columns.index_column_id...