Advertisement

03.29.2008 at 04:14PM PDT, ID: 23280035
[x]
Attachment Details

Is there a way within sqlldr to delete any records in a table that appears in the file with the data

Asked by sikyala in Oracle Product Info, Sun Solaris, Oracle 10.x

I have created a cron job to run sqlldr in a ksh script against text flat files on a daily basis. It runs in a loop because on any given day there may be more than one file to process. Initially I was thinking that the table it loads into should be truncated prior to the data load because just in case there were duplicate records loaded. However, after thinking about it I think that there is a potential to lose data. Is there a way within sqlldr to delete any duplicates found during the load in the table? The control file I am using currently does an append into the table. If there is a better solution I am open to it.Start Free Trial
 
 
[+][-]03.30.2008 at 08:07AM PDT, ID: 21240925

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Oracle Product Info, Sun Solaris, Oracle 10.x
Sign Up Now!
Solution Provided By: angelIII
Participating Experts: 2
Solution Grade: A
 
 
[+][-]03.30.2008 at 10:23PM PDT, ID: 21243296

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]03.31.2008 at 11:44AM PDT, ID: 21247954

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.31.2008 at 12:07PM PDT, ID: 21248130

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.31.2008 at 12:09PM PDT, ID: 21248146

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.31.2008 at 12:15PM PDT, ID: 21248199

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.01.2008 at 12:45PM PDT, ID: 21257398

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.01.2008 at 08:05PM PDT, ID: 21259904

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628