Topic: Database Management Systems
Which statement describes a database transaction more accurate?
- A. A database transaction is a logical unit of database operations
- B. A database transaction can never be rolled back
- C. A database transaction must contain only one SQL statement
- D. A database transaction cannot modify data
Answer: A. A database transaction is a logical unit of database operations
Explanation: A database transaction is fundamentally defined as an executing program that forms a single logical unit of database processing. It can encapsulate multiple read/write SQL operations, which are guaranteed to execute entirely or not at all (atomicity), and it can certainly be rolled back if an error occurs.