Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

trigger and multiple procedure?

Status
Not open for further replies.

slok

Programmer
Jul 2, 1999
108
SG

whenever I insert/update/delete an employee_salary table, I need to
1. write to an audit table , procedure write_audit
2. check whether salary has reached limit, procedure check_sal

I have 2 procedures to handle point "1" and point "2".
But how can I do a trigger that will invoke these 2 procedures?



 
Hi,
You can write before insert,update,delete trigger on table and when inserting or updating u call check_sal and autdit
when deleting u may call only audit. for sepcifc syntax refer to any oracle book
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top