![](https://csdnimg.cn/release/download_crawler_static/88161490/bg4.jpg)
update Account set balance=7800 where
id=1
update Account set balance=9000 where
id=1
IF @@error <> 0
ROLLBACK TRANSACTION
ELSE
COMMIT TRANSACTION
A.Account 表中 id 为 1 的记录中 balance 字段
的值被修改为 7800
B. Account 表中 id 为 1 的记录中 balance 字段
的值被修改为 9000
C.Account 表中 id 为 1 的记录中 balance 字段
的值不变
D.不可能发生这种情况
7) 在 SQL Server 数据库中,有关下列 T-SQL 语
句的功能,说法正确的是( )。
DECLARE @I int, @J int
SET @I=0
WHILE (@I < 2)