Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Empty a table..
>What is the fastest way to empty a table with SQL (I do not mean the
easiest
>way !).. I have an Oracle 7.x database.
Fastest, and best as it will return all used space to Oracle:
truncate table my_table;
Note that there is no way back. Rollback wn't help you, as Oracle will automatically commit all open transactions.
Arjan. Received on Thu Aug 27 1998 - 13:16:51 CDT
![]() |
![]() |