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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Stop Insert Trigger Firing

Status
Not open for further replies.

Craig0201

Technical User
Oct 11, 2000
1,261
GB
Hi,

I have an insert trigger which changes some data and records an entry in a log table. The changes cause the update trigger which records a further entry in the log file. How can I stop the update trigger from firing when the data is changed by the insert trigger?

Craig
 
Helps if you look more closely before you ask.

sp_configure 'nested triggers',0 at the top of the insert trigger and sp_configure 'nested triggers',1 at the bottom.

Craig
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top