Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 

Get your favorite SSC scripts directly in SSMS with the free SQL Scripts addin. Search for scripts directly from SSMS, and instantly access any saved scripts in your SSC briefcase from the favorites tab.
Download now (direct download link)

Find Duplicate Employees, Customers, Etc.

By lansley,

Customers, employees, etc. come and go.  They get entered multiple times in inconsistent formats in databases.

This simple script finds the duplicates across multiple formats and is easily modified as needed.  It's so easy, my grandmother could do it. Oops! No offense Grandma.

For very large databases, create and join two temp tables indexed on the namedatetring value.

Total article views: 190 | Views in the last 30 days: 1
 
 
Contribute