View Single Post
Old 09-15-2009, 10:13 AM  
GrouchyAdmin
Now choke yourself!
 
GrouchyAdmin's Avatar
 
Industry Role:
Join Date: Apr 2006
Posts: 12,085
If the IDs match you could be really lazy and just set (if not already) that record as a unique key, then undo the damage after the import.

If you just want to ignore duplicates, INSERT IGNORE is likely what you need.
__________________
GrouchyAdmin is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote