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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Need a SQL expert help : How to create a trigger for DELETE ???????

Re: Need a SQL expert help : How to create a trigger for DELETE ???????

From: Art S. Kagel <kagel_at_bloomberg.net>
Date: 1998/08/11
Message-ID: <35D0815D.358@bloomberg.net>#1/1

Eric, Chow Hoi Ka wrote:
>
> Hello,
>
> How can I create a TRIGGER for DELETE a record ?
>
> Such as, when I delete a record, it will auto copy this record to
> another TABLE ???

I do not know about the other database you have posted to, but this can absolutely be done in Informix. You can do it with a simple delete trigger or, if more complex processing is required, you can call a stored procedure from the trigger.

Art S. Kagel Received on Tue Aug 11 1998 - 00:00:00 CDT

Original text of this message

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