Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
T-SQL Newbie creating trigger
Message
 
General information
Forum:
Microsoft SQL Server
Category:
Other
Miscellaneous
Thread ID:
01031991
Message ID:
01032015
Views:
18
>If I understand correctly, SQL Server will delete the row before updating it?

No but it will put the row(s) before update in the DELETED table. IIRC in older versions UPDATE was done by deleting old record and inserting updated one. I think SQL 2000 can be configured to do that but by default it just updates record(s).

>Also, There is no BEFORE UPDATE trigger ?

No. There're only AFTER and INSTEAD triggers in SQL Server.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform