Subject | Re: Insert Trigger which makes an Update if pk allready there possible? |
---|---|
Author | Ian A. Newby |
Post date | 2004-08-23T08:40:02Z |
Hi,
the table in question and add the triggers to it. Then use the view.
Records inserted into the view will fire the trigger which can
then insert or update the underlying table.
Regards
Ian Newby
> > What about deleting the old row, in a "BEFORE INSERT" trigger?You could use a view with triggers on. Create a view that maps to
> > Insertion would stay insertion. This should work.
the table in question and add the triggers to it. Then use the view.
Records inserted into the view will fire the trigger which can
then insert or update the underlying table.
Regards
Ian Newby