Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Empty a table..
"Colin" <colin_at_flash.a2000.nl> wrote:
>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.
>
Colin,
The simplest and cleanest way of doing this is to isuue a delete command against the table; ie: DELETE TABLE TABLE_NAME. This will only delete the data from the table. All of the structures and relationships will still exist.