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

Home -> Community -> Usenet -> c.d.o.server -> Re: how do I purge data from a database table

Re: how do I purge data from a database table

From: James Williams <willjamu_at_mindspring.com>
Date: Fri, 12 Apr 2002 10:48:37 GMT
Message-ID: <3cb6bb7b.39967927@nntp.mindspring.com>


On 12 Apr 2002 03:15:01 -0700, ekearney_at_ddsi.ie (Edel) wrote:

Describe you table and see if you have a column with date format.

Then

Delete from table where datecol < sysdate-180;

If not you will need to find a way to identify where criteria.

>I need to purge data from a database table where the entries in the
>table are more than 6 months old. I have no idea how to do
>this...anybody know how this can be done?????
Received on Fri Apr 12 2002 - 05:48:37 CDT

Original text of this message

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