在SQL Server中,考虑如下事务:
Begin Transaction
Create table A ( x smallint , y smallint )
Create table B ( p smallint , q smallint )
Update A set x=600 where y > 700
Update B set p=78 where q=99
If @@ error != 0
Begin
RollBack Transaction
Return
End
Commit Transaction
请选择正确的选项:( )
交易完全正常
会报错
错误处理例程包含语法错误
以上都不是