Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Empty a table..
In article <6s47on$mn3$1_at_pascal.a2000.nl>, avbentem_at_DONT-YOU-DAREdds.nl
says...
> >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.
This will also not fire any delete triggers which may be on the table. Received on Thu Aug 27 1998 - 13:39:48 CDT
![]() |
![]() |