MCQs>IT & Programming>Microsoft SQL Server>Consider the transaction: 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 Select the correct option:
Microsoft SQL Server MCQs
Consider the transaction:
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
Select the correct option:
Answer
Correct Answer: It will report an error
Explanation:
Note: This Question is unanswered, help us to find answer for this one