I was replacing some Stored Procedure code which acesses the System tables to get the same data from the Information Schema tables instead so as to avoid having to change them if the system tables change from version to version.
However I wasn't able to find a way of getting the index names (taken originally from sysindexes) from any of the Information Schema views.
It seems that the views provide information for 'constraints' : Primary Keys & Referential Constraints but not ordinary indexes.
Can anybody confirm that this is the case and therefore I will still have to use the 'sysindexes' for this ???
However I wasn't able to find a way of getting the index names (taken originally from sysindexes) from any of the Information Schema views.
It seems that the views provide information for 'constraints' : Primary Keys & Referential Constraints but not ordinary indexes.
Can anybody confirm that this is the case and therefore I will still have to use the 'sysindexes' for this ???