Bird
0
0

Which SQL statement correctly starts a transaction in PostgreSQL to use MVCC?

easy📝 Syntax Q12 of 15
PostgreSQL - Transactions and Concurrency
Which SQL statement correctly starts a transaction in PostgreSQL to use MVCC?
ABEGIN;
BSTART;
CBEGINNING TRANSACTION;
DOPEN TRANSACTION;
Step-by-Step Solution
Solution:
  1. Step 1: Recall PostgreSQL transaction syntax

    PostgreSQL uses BEGIN; to start a transaction.
  2. Step 2: Compare options

    Only A is valid syntax. B and C use incorrect keywords, D is invalid.
  3. Final Answer:

    BEGIN; -> Option A
  4. Quick Check:

    PostgreSQL transaction start = BEGIN; [OK]
Quick Trick: Use BEGIN; to start transactions in PostgreSQL [OK]
Common Mistakes:
  • Using START; which is invalid syntax
  • Typing OPEN TRANSACTION; which is invalid
  • Confusing transaction start with commit or rollback

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More PostgreSQL Quizzes