Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determining whether UPDATE or INSERT was called
Message
General information
Forum:
Microsoft SQL Server
Category:
Other
Title:
Determining whether UPDATE or INSERT was called
Environment versions
SQL Server:
SQL Server 2008
Miscellaneous
Thread ID:
01467465
Message ID:
01467465
Views:
80
How can one determine in an INSTEAD OF TRIGGER whether an UPDATE was called or an INSERT? Is there any other way than by looking at the INSERTED and DELETED tables? Kevin Goff mentioned looking at those two tables, but I am wondering if the DML language provides another way to determine this within the trigger?
Next
Reply
Map
View

Click here to load this message in the networking platform