mysql duplicates with LOAD DATA INFILE
When using LOAD DATA INFILE, is there a way to either flag a duplicate row, or dump any/all duplicates into a separate table? From the LOAD DATE INFILE documentation : The REPLACE and IGNORE keywords control handling of input rows that duplicate existing rows on unique key values: If you specify REPLACE, input rows replace existing rows. In other words, rows that have the same value for a primary key or unique index as an existing row. See Section 12.2.7, “REPLACE Syntax” . If you specify IGNORE, input rows that duplicate an existing row on a unique key value are skipped. If you do not specify