You use SQL Server to maintain the data used by applications at your company. You need to run two separate SQL statement

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

You use SQL Server to maintain the data used by applications at your company. You need to run two separate SQL statement

Post by answerhappygod »

You use SQL Server to maintain the data used by applications at your company.
You need to run two separate SQL statements.
You must guarantee that the following three things happen:
Either BOTH statements succeed or BOTH statements fail as a batch.

✑ If an error occurs on the first statement, SQL should not attempt to run the second statement.
✑ Error information should be returned to the client.
What should you do?
You Use Sql Ser 1
You Use Sql Ser 1 (116 Bytes) Viewed 107 times
You Use Sql Ser 2
You Use Sql Ser 2 (35.41 KiB) Viewed 107 times
A. Option A
B. Option B
C. Option C
D. Option D
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!

This topic has 1 reply

You must be a registered member and logged in to view the replies in this topic.


Register Login
 
Post Reply