RRinTetons
IS-IT--Management
I have a vendor-supplied database that has a fairly extensive AFTER INSERT trigger on a particular table. I want to add my own trigger logic for the same table. My logic is independent of theirs. I believe that it should be OK to define a second trigger on the table, but I'm not certain. My understanding is that both triggers will run, but that the order in which they run for any given insert is not determined unless I do my own control. As I don't care in this case, I'll just skip that part of I don't have to worry about it.
1) Multiple AFTER INSERT triggers OK?
2) Is the INSERTED table valid and the same for both triggers?
3) Any reason I shouldn't send Database Mail from my trigger? In one very specific and (hopefully) rare instance?
-
Richard Ray
Jackson Hole Mountain Resort
1) Multiple AFTER INSERT triggers OK?
2) Is the INSERTED table valid and the same for both triggers?
3) Any reason I shouldn't send Database Mail from my trigger? In one very specific and (hopefully) rare instance?
-
Richard Ray
Jackson Hole Mountain Resort