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: Reg. SQL Loader.

Re: Reg. SQL Loader.

From: Muthaiah <cvmuthaiah_at_yahoo.com>
Date: Fri, 29 Dec 2000 10:10:54 +0530
Message-Id: <10724.125428@fatcity.com>


This is a multi-part message in MIME format.

------=_NextPart_000_0061_01C0717F.A119C5E0 Content-Type: text/plain;

        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hai,

Hope this helps,

INSERT=20
This is the default method. It requires the table to be empty before = loading. SQL*Loader terminates with an error if the table contains rows. =

APPEND=20
If data already exists in the table, SQL*Loader appends the new rows to = it. If data doesn't already exist, the new rows are simply loaded.=20 REPLACE=20

All rows in the table are deleted and the new data is loaded. The table =
must be in your schema, or you must have DELETE privilege on the table. =
The row deletes cause any delete triggers defined on the table to fire. =
If DELETE CASCADE has been specified for the table, then the cascaded = deletes are carried out, as well.=20
Updating Existing Rows
The REPLACE method is a table replacement,

With best regards,

Muthaiah (Muths)

If god be with us, Who can be against us ----- Original Message -----=20
From: Arul kumar <rakumar_at_mahindrabt.com> To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com> Sent: Thursday, December 28, 2000 12:00 PM Subject: Reg. SQL Loader.

> Hi All,

>=20

> I got a doubt in SQL Loader. I want to load data into a table which is
> already having some data . I mean , appending records.
>=20
> Can anybody let me know the option or keyword to be given in the =
control
> file which will allow me to APPEND the records in a table.
>=20

> TIA,
> Arul.
>=20

> --=20
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --=20
> Author: Arul kumar
> INET: rakumar_at_mahindrabt.com
>=20

> 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).

------=_NextPart_000_0061_01C0717F.A119C5E0 Content-Type: text/html;

        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2314.1000" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY background=3D"" bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hai,<BR></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Hope this helps,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2><BR><STRONG>INSERT </STRONG><BR>This is =
the default=20
method. It requires the table to be empty before loading. SQL*Loader = terminates=20
with an error if the table contains rows. </FONT></DIV> <DIV><FONT face=3DArial size=3D2><STRONG>APPEND <BR></STRONG>If data = already exists=20
in the table, SQL*Loader appends the new rows to it. If data doesn't = already=20
exist, the new rows are simply loaded. <BR><STRONG>REPLACE = </STRONG><BR>All rows=20
in the table are deleted and the new data is loaded. The table must be = in your=20
schema, or you must have DELETE privilege on the table. </FONT><FONT = face=3DArial=20
size=3D2>The row deletes cause any delete triggers defined on the table = to fire.=20
If DELETE CASCADE has been specified for the table, then the cascaded = deletes=20
are carried out, as well. </FONT></DIV>
<DIV><FONT face=3DArial size=3D2><STRONG>Updating Existing = Rows</STRONG><BR>The=20
REPLACE method is a table replacement,<BR><BR>With best=20 regards,<BR><BR><BR>Muthaiah (Muths)<BR><BR>If god be with us, Who can = be=20
against us<BR>----- Original Message ----- <BR>From: Arul kumar=20 &lt;rakumar_at_mahindrabt.com&gt;<BR>To: Multiple recipients of list = ORACLE-L=20
&lt;ORACLE-L_at_fatcity.com&gt;<BR>Sent: Thursday, December 28, 2000 12:00=20 PM<BR>Subject: Reg. SQL Loader.<BR><BR><BR>&gt; Hi All,<BR>&gt; <BR>&gt; = I got a=20
doubt in SQL Loader. I want to load data into a table which is<BR>&gt; = already=20
having some data . I mean , appending records.<BR>&gt; <BR>&gt; Can = anybody let=20
me know the option or keyword to be given in the control<BR>&gt; file = which will=20
allow me to APPEND the records in a table.<BR>&gt; <BR>&gt; TIA,<BR>&gt; =

Arul.<BR>&gt; <BR>&gt; -- <BR>&gt; Please see the official ORACLE-L FAQ: =

http://www.orafaq.com<BR>&gt; -- <BR>&gt; Author: Arul = kumar<BR>&gt;&nbsp;&nbsp;=20
INET: rakumar_at_mahindrabt.com<BR>&gt; <BR>&gt; Fat City Network=20 Services&nbsp;&nbsp;&nbsp; -- (858) 538-5051&nbsp; FAX: (858) = 538-5051<BR>&gt;=20
San Diego, California&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- = Public=20
Internet access / Mailing Lists<BR>&gt;=20

--------------------------------------------------------------------<BR>&=
gt; To=20
REMOVE yourself from this mailing list, send an E-Mail message<BR>&gt; = to:=20
ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in<BR>&gt; = the=20
message BODY, include a line containing: UNSUB ORACLE-L<BR>&gt; (or the = name of=20
mailing list you want to be removed from).&nbsp; You may<BR>&gt; also = send the=20
HELP command for other information (like=20 subscribing).</FONT></DIV></BODY></HTML>

------=_NextPart_000_0061_01C0717F.A119C5E0-- Received on Thu Dec 28 2000 - 22:40:54 CST

Original text of this message

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