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: PL/SQL-delete, insert

Re: PL/SQL-delete, insert

From: William Beilstein <BeilstWH_at_obg.com>
Date: Thu, 19 Apr 2001 09:12:06 -0700
Message-ID: <F001.002EC9C0.20010419070158@fatcity.com>

delete from my_table;

insert into my_table values(1,'row 2',3);

The delete without a where clause will delete all rows from the table.

>>> Roland.Skoldblom_at_ica.se 04/19/01 04:20AM >>>
Can anyone give me an example of an pl/sql-procedure, that first delete rows from a table and afterwards insert
values in that table. This should be in the same procedure. Thanks for the help I can get on this, a good example.

Roland Sköldblom

--
Please see the official ORACLE-L FAQ: http://www.orafaq.com 
--
Author:
  INET: Roland.Skoldblom_at_ica.se 

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

--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: William Beilstein
  INET: BeilstWH_at_obg.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 Thu Apr 19 2001 - 11:12:06 CDT

Original text of this message

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