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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Delete Data older than exactly 2 years

Re: Delete Data older than exactly 2 years

From: Niall Litchfield <niall.litchfield_at_gmail.com>
Date: Fri, 20 Apr 2007 18:12:12 +0100
Message-ID: <7765c8970704201012q3bcb2c8bw28e16a4b719672ba@mail.gmail.com>


drop the appropriate partition.?

On 4/20/07, Sanjay Mishra <smishra_97_at_yahoo.com> wrote:
> Hi
>
> Can somebody suggest good method to delete all record older than 2 years
> from the current date. This script will run on the last sunday of each
> month. I will write the logic for Last sunday in Unix shell but need some
> idea about the SQL. I can't use some 365+366 or so kind of logic. THis is
> 9i.
>
> TX
> Sanjay
>
>
> ---------------------------------
> Ahhh...imagining that irresistible "new car" smell?
> Check outnew cars at Yahoo! Autos.

-- 
Niall Litchfield
Oracle DBA
http://www.orawin.info
--
http://www.freelists.org/webpage/oracle-l
Received on Fri Apr 20 2007 - 12:12:12 CDT

Original text of this message

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