I have a table Chemical that has the following fields.
chemicalId - primary key
chemicalShortName - eg. viagrasium
chemicalFullName - eg. viagrasium dio sulphate
chemicalNameUsed - eg. viagra
chemicalCompanyShortName - eg. ABC Pharmaceutical
chemicalCompanyFullName - eg. ABC Pharmaceutical Internation Corporation
chemicalContactEmail1 - jim@abcpharm.com
chemicalContactEmail2 - jerry@abcpharmcorp.com
I have to create a Stored Procedure to return the chemicalId of records that appear to be "duplicates", "triplicates" ("quad ...", etc) or are "VERY SIMILAR".
The procedure should check all the fields above and return a list of IDs of duplicates, triplicates, and records that are very similar. I will then manually eliminate and merge similar / duplicate records. Please help!
chemicalId - primary key
chemicalShortName - eg. viagrasium
chemicalFullName - eg. viagrasium dio sulphate
chemicalNameUsed - eg. viagra
chemicalCompanyShortName - eg. ABC Pharmaceutical
chemicalCompanyFullName - eg. ABC Pharmaceutical Internation Corporation
chemicalContactEmail1 - jim@abcpharm.com
chemicalContactEmail2 - jerry@abcpharmcorp.com
I have to create a Stored Procedure to return the chemicalId of records that appear to be "duplicates", "triplicates" ("quad ...", etc) or are "VERY SIMILAR".
The procedure should check all the fields above and return a list of IDs of duplicates, triplicates, and records that are very similar. I will then manually eliminate and merge similar / duplicate records. Please help!