cancel an sql server query from SSMS -
this question has answer here:
- if stop long running query, rollback? 12 answers
i running update sql server query.unfortunately realized miss condition canceled manually query red (stop) button in sql server management studio. want know if rollback done on updated data or not. simple sql server query without begin transaction , commit or rollback clause.
yes should rolled back. afaik, update
/insert
runs on implicit transaction block; i.e, either complete or not (atomic operation).
with in mind, moment have clicked red stop button; must have rolled update operation transaction.
you can verify that, issuing select
query against same table , see if data have been updated or not.
Comments
Post a Comment