Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

find unique indexes in tables 1

Status
Not open for further replies.

shanghai2004

Programmer
Dec 16, 2004
37
CA
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top