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: rjamya <rjamya_at_gmail.com>
Date: Fri, 20 Apr 2007 12:46:11 -0400
Message-ID: <9177895d0704200946m467aa1eewb7d4d6084718a34@mail.gmail.com>


Sanjay

Can you tell me why you can't use the 365/366 logic but can use add_months ?

On 4/20/07, Sanjay Mishra <smishra_97_at_yahoo.com> wrote:
>
> Thanks Mindaugas
>
> *Mindaugas Navickas <mnavickas_at_yahoo.com>* wrote:
>
> delete table where record_timestamp < ADD_MONTHS(sysdate, -24)
>
>
>

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

Original text of this message

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