General information
Forum:
Microsoft SQL Server
Title:
Detecting Insert vs Update Trigger event
Environment versions
SQL Server:
SQL Server 7.0
Hi all,
I have a trigger that I'm trying to modify. It needs to be run on EITHER an Insert OR an Update and have it as...
ALTER TRIGGER dbo.somast_email_credit ON somast
AFTER UPDATE, insert
AS
...
...
...
Now, while in the trigger, is there some @@ variable, or trigger status that identifies if it was triggerd by an Insert vs an Update?
Thanks
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only