Home » RDBMS Server » Server Utilities » Ignoring duplicate rows during SQL Load
Ignoring duplicate rows during SQL Load [message #72114] Tue, 11 March 2003 20:30 Go to next message
Ravi Swaminathan
Messages: 1
Registered: March 2003
Junior Member
Is there away I can check if the value of the table's field I am loading into has the same value in the datafile, duting SQL Load?

For instance, I have a customer number and a date field in the table I am loading into. Is there a way I can check if the combination of these two fields in the data file exists in the table before attempting to load?

The reason is, I have a unique constraint on customer number and the date field. But each row of the data file has three sets of customer number and date values that I have to load as three separate rows. If a duplicate is encountered in a record in one row, the whole row is rejected.

Thanks
Re: Ignoring duplicate rows during SQL Load [message #72117 is a reply to message #72114] Wed, 12 March 2003 05:33 Go to previous message
Mahesh Rajendran
Messages: 10708
Registered: March 2002
Location: oracleDocoVille
Senior Member
Account Moderator
Please refer to our other posting here
see whether it helps you..else let us know
Previous Topic: exp then convert into a spreadshet
Next Topic: importing constraints only
Goto Forum:
  


Current Time: Tue Dec 24 06:46:31 CST 2024