Re: Enforce business rule with before insert trigger?
Posted by:
Bob Field
Date: December 29, 2005 03:45PM
Hello all,
I'm new here and I think this is the appropriate place to ask this:
I have a pair of tables, the first of which store a unique sequence number for each transaction, and the second that stores the detail lines of the transaction. I will be adding all the detail lines to the second table via a single INSERT operation and wish to have a trigger that fires upon completion of inserting these rows in order to calculate the total amount of these detail lines and be able to roll back the entire operation if the total does not meet my criteria.
Any insights here?
Thanks in advance,
Bob.
Subject
Views
Written By
Posted
8201
April 17, 2005 01:10PM
4214
April 17, 2005 04:00PM
9404
April 27, 2005 04:01AM
4065
April 27, 2005 04:04AM
3332
May 28, 2008 05:28PM
3856
April 27, 2005 04:13AM
3419
April 27, 2005 04:30AM
3443
April 27, 2005 05:09AM
3226
April 27, 2005 06:45AM
Re: Enforce business rule with before insert trigger?
3224
December 29, 2005 03:45PM
3162
December 30, 2005 08:04AM
3330
January 04, 2006 12:50PM
4519
January 04, 2006 05:43PM
3044
January 04, 2006 07:38PM
3051
January 05, 2006 10:08AM
3155
January 06, 2006 12:52PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.