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

Home -> Community -> Usenet -> c.d.o.server -> Deleting Large number of Rows

Deleting Large number of Rows

From: Peter Stryjewski <pstryjew_at_worldnet.att.net>
Date: 18 Feb 1999 18:04:52 GMT
Message-ID: <36CC8056.C1100A40@worldnet.att.net>


How can I quickly delete large numbers of rows?

Currently, I have a list of "index" values (that are a retreival key).

I "pipe" these commands into a sqlplus session.

delete from <table> where <index> = value;

after 5000 deletes, I put in a commit;

These aren't really grouped together, so each one is a separate delete statement.

Pete Stryjewski
pstryjew_at_worldnet.att.net Received on Thu Feb 18 1999 - 12:04:52 CST

Original text of this message

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