SQL Server - Order of Execution / AFTER TRIGGER -
i know time delay between execution of statement , firing of first after trigger. going doing simple update of datetime2 field after query has completed concurrency reasons. instead of triggers have been first choice, select not available sql azure.
i'm looking find out if possible retrieve row before after triggers begin execution, , if chance of happening under heavy load?
there not delay such. trigger part of transaction/statement.
also, have inserted , deleted special tables contain changed data: no need query actual table in trigger
edit
finally, if there default on column can use this
update sometable set foo = ..., bar = ..., thedatetime2column = default -- ...
Comments
Post a Comment