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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Empty a table..

Re: Empty a table..

From: <jasonkatz_at_hotmail.com>
Date: 28 Aug 98 21:12:12 GMT
Message-ID: <35e71d2c.0@olson.gtdev.com>

"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.

Received on Fri Aug 28 1998 - 16:12:12 CDT

Original text of this message

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