tsql - SQL Server Merge statement issue -
i learning , using sql server 2008 new merge statement, merge statement compare/operate source table , destination table row row ("operate" mean operations performed when matched or not-matched conditions). question whether whole merge process 1 transaction or each row comparison/operation 1 transaction?
appreciate if document prove it.
thanks in advance, george
the merge statement set based operation , such operate on entire set of matching rows.
it update or delete. if want (and sounds do), can wrap begin tran
, commit
data integrity purposes.
Comments
Post a Comment