Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

RE: Expand / Collapse
Author
Message
Posted Friday, March 10, 2006 2:09 PM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Monday, November 16, 2009 8:20 PM
Points: 271, Visits: 3

Hi There:

This is not an efficient way to remove duplicate records. You can create a hold table and create a unique constraint with ignore_dupe attribute on and do one simple insert on the hold table. All duplicate can be removed without holding a cursor on the primary table. You can then truncvate the original table and dump data into it from hold table.

Hope this helps.

Nitin

Post #265005
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse