MCQs > IT & Programming > ASP.NET With 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:

ASP.NET With 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

ASP.NET With SQL Server Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

More ASP.NET With SQL Server MCQ Questions

search

ASP.NET With SQL Server Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it