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

Home -> Community -> Usenet -> c.d.o.tools -> Re: trigger?

Re: trigger?

From: tony <ttigger4321_at_hotmail.com>
Date: Fri, 18 May 2001 13:21:34 GMT
Message-ID: <3b052192.89504448@news.dal.ca>

On Fri, 18 May 2001 08:19:49 +0200, "Jørn Hansen" <joh_at_stibo.dk> wrote:

>Hi tony
>
>Instead of a trigger, you could use DBMS_JOB to setup a procedure that
>executed on a daily basis and removed old rows.
>
>/Jørn
>

Thanks Jorn. I'll look into this.

tony

>"tony" <ttigger4321_at_hotmail.com> wrote in message
>news:3b0403b2.16309948_at_news.dal.ca...
>> Hi. I want to create a trigger that will delete rows that are sysdate
>> - 3 or older.
>>
>> Here's a select that returns the correct rows:
>>
>> select * from table_a
>> where
>> last_activity_date >= sysdate - 3
>>
>> Can anyone show me the syntax to cretate this trigger?
>>
>> TIA,
>> tony
>
>
Received on Fri May 18 2001 - 08:21:34 CDT

Original text of this message

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