Will stopping my query rollback all my queries
-
10-03-2021 - |
题
I have started a Query like the following in SQL Mgt studio:
Currently running sp_who I can see the Query is running for TBCompany_503
My question is that if I Kill the process for TBCompany_503
will it rollback the changes for TBCompany_500
- TBCompany_502
?
Reason I want to stop it, and run them separately.
解决方案
Not unless you wrapped those calls in the same transaction, otherwise those previously ran updates are committed already.
不隶属于 dba.stackexchange