Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 3 of 3 total
Thread referring to Old Record in SQL??
Mon, Jul 30 2007 6:54 AMPermanent Link

"Ian Branch"
Hi Guys,

   I am trying to create an After Deleted Trigger that will copy the old record
into another database.

   e.g.  When a record is deleted from Database A, it is automatically inserted
into Database B.

   Something like the following..

      INSERT INTO B SELECT * FROM B__Old;

Any thoughts/suggestions?

Regards & TIA,

Ian

--
Mon, Jul 30 2007 7:37 AMPermanent Link

"Robert"

"Ian Branch" <branch@sitathome.net> wrote in message
news:9C410F80-E3CF-4854-BB21-87D158924594@news.elevatesoft.com...
> Hi Guys,
>
> I am trying to create an After Deleted Trigger

BeforeDelete. After delete it is gone.

Robert

Thu, Aug 2 2007 7:35 AMPermanent Link

"Ian Branch"
Robert wrote:

>
> BeforeDelete. After delete it is gone.
>

So the INSERT syntax is correct?
Image