--#1.我只能说,不可能
--#2.楼主把所有的语句放到TRY...CATCH...中,测试是否会有异常产生。如果没有,参考#3
--#3.用下面代码测试:
BEGIN TRY
BEGIN TRAN
select operator FROM tlog where id=2034134 --旧数据
update tlog set operator='xgg' where id=2034134
select operator FROM tlog where id=2034134 --新数据
SELECT [state],operator FROM tuser where vchno=2034134 --旧数据
Update tuser set [state]=1,operator='xgg' where vchno=2034134
SELECT [state],operator FROM tuser where vchno=2034134 --新数据
COMMIT
END TRY
BEGIN CATCH
SELECT 'have a error:' + ERROR_MESSAGE()
END CATCH