Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Removing data form a table
Lance,
Truncate Table <YourTableHere> ;
This deletes all the rows in the table without the cost of rollback.
Jack
-----Original Message-----
Sent: Friday, February 08, 2002 3:25 PM
To: Multiple recipients of list ORACLE-L
I want to create a procedure the drops all the data from a table.
I was trying to drop table then create this proved to be extremely complicated in Oracle. I think the above route is much better.
Does anyone know how to do this?
Lance
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Jack C. Applewhite INET: japplewhite_at_inetprofit.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-LReceived on Fri Feb 08 2002 - 15:57:55 CST
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).
![]() |
![]() |