shanghai2004
Programmer
Dear expert,
I have to change a database collation from case sensitive to case insensitive. So I need to develop queries to find all potential duplicates in unique indexes and primary keys. A query to find all potential duplicates in primary keys is done (refer to sp_pkeys stored procedure). But I don't know how to find the unique indexes (but not the primary keys) from sysindexes table. What is the selection criterion? Help please.
Thanks
I have to change a database collation from case sensitive to case insensitive. So I need to develop queries to find all potential duplicates in unique indexes and primary keys. A query to find all potential duplicates in primary keys is done (refer to sp_pkeys stored procedure). But I don't know how to find the unique indexes (but not the primary keys) from sysindexes table. What is the selection criterion? Help please.
Thanks