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

I need some help with this problem:

Status
Not open for further replies.

cass60660

Programmer
Nov 13, 2002
30
US
I need some help with this problem:
Can I create 2 triggers (FOR INSERT) on the same table ?
If yes, which one is going to fire first ?
One trigger (TR1) is validating the data and second trigger (TR2) is inserting in a log table the activity (in this case new rows).
If is possible to have 2 triggers (FOR INSERT) how can I establish the order ?

-I use: SQL Server 2000

Thank you.
 
Why can't you do both in the same trigger???

Also, this is not the appropriate forum to post this question. You may want to post it in the SQL Server Programming forum. Of course, don't cross post.

Thanks

J. Kusch
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top