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: Jared Still <jkstill_at_gmail.com>
Date: Fri, 20 Apr 2007 09:17:40 -0700
Message-ID: <bf46380704200917r2429da7dt117e4ed0fa906df7@mail.gmail.com>


On 4/19/07, Sanjay Mishra <smishra_97_at_yahoo.com> wrote:
>
>
> 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.
>
>

Please see http://www.catb.org/~esr/faqs/smart-questions.html#before

-- 
Jared Still
Certifiable Oracle DBA and Part Time Perl Evangelist

--
http://www.freelists.org/webpage/oracle-l
Received on Fri Apr 20 2007 - 11:17:40 CDT

Original text of this message

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