Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: How to DELETE and UPDATE records using SQLLDR

Re: How to DELETE and UPDATE records using SQLLDR

From: Stephen Andert <StephenAndert_at_firsthealth.com>
Date: Fri, 28 Jun 2002 10:36:35 -0800
Message-ID: <F001.0048BB02.20020628103635@fatcity.com>


David,  

Just a guess since my SQL*Loader book is at home,  

  1. insert to a staging table then
  2. do a delete where exists in staging table
  3. insert from staging table

Stephen

>>> david.m.nguyen_at_xo.com 06/28/02 10:59AM >>>

I'd like to delete a couple thousand of records and also update a thousand of records in database using SQL Loader. If I use REPLACE key work in SQLLDR, all my existing records will be deleted, I just want to delete and update certain records without deleting all existing records.  How do I do that with SQLLDR? Please help.  

Thanks,
David

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Stephen Andert
  INET: StephenAndert_at_firsthealth.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Fri Jun 28 2002 - 13:36:35 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US