Bird
0
0

Which of the following is true about transactions started with BEGIN TRANSACTION?

easy📝 Conceptual Q2 of 15
SQL - Transactions and Data Integrity
Which of the following is true about transactions started with BEGIN TRANSACTION?
AThey ensure all included operations succeed or fail together
BThey automatically save changes after each statement
CThey cannot be rolled back once started
DThey create a backup of the database
Step-by-Step Solution
Solution:
  1. Step 1: Understand transaction atomicity

    Transactions guarantee that all operations inside either complete fully or none apply.
  2. Step 2: Check each option

    Only They ensure all included operations succeed or fail together correctly describes this atomic behavior.
  3. Final Answer:

    They ensure all included operations succeed or fail together -> Option A
  4. Quick Check:

    Transaction atomicity = All or nothing [OK]
Quick Trick: Transactions group operations to succeed or fail as one [OK]
Common Mistakes:
  • Assuming transactions auto-save after each statement
  • Believing transactions cannot be rolled back

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More SQL Quizzes