我有一个包含一些插入和更新的查询,像这样
Insert Into #TempTable (...) Select top (1000) * from T where ....
Update T2 Set c1=...,c2=... where w1
Update T2 Set c1=...,c2=... where w2
Update T2 Set c1=...,c2=... where w2
我从 C# 应用程序运行此查询。由于服务器负载过重,此查询的每个部分都可能超时,我想知道如果查询的一部分超时(例如第二次更新),则所有先前的查询(插入和第一次更新)都将由 Sql 回滚服务器引擎?