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!

table trigger?

Status
Not open for further replies.

blkm74

Programmer
Jul 23, 2002
11
MO
Can I define more than one procedure/function in table insert trigger?

Thanks!
 
even through you are only allowed to define one procedure, I guess could call procedures that are defined out side the trigger. Attitude is Everything
 
Well yes and no! <g> For the trigger you can only specify a logical expression, but it can be complex. e.g. I've used:
security_check() AND __ri_insert_users()

Where both stored procedures (actually functions) return T or F.

Rick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top