Exactly if the full record is same its a duplicate
like there could be 2 scenarios
- duplicate records in the source file
- Duplicate records in the source file when compared with existing table.
duplicate in source file :
if there are 3 duplicate records
catch the first record and move it to target and other 2 move them to another file (may be u shd add a surrogate key to identify them uniquely)
duplicate rec compared with table data :
compare each rec with table data and if its duplicate move it to another file
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…