Returns details about column indexes in one or more tables.
sp_iqcolumnmetadata [ table.name [, owner-name ] ]
sp_iqcolumnmetadata reads the index metadata to return details about column indexes in both base and global temporary tables. Index metadata reported for a global temporary table is for the individual instance of that table.
Include the optional [table.name] parameter to generate details for that table. Omit the [table.name] parameter to generate details for all tables in the database.