Question

What is a 'transaction' in DBMS and what does 'COMMIT' do?

A A transaction is a single SQL query which is executed by the user; COMMIT executes multiple queries
B A transaction is a database backup operation; COMMIT creates a checkpoint to validate a transaction
C A transaction is a logical unit of work comprising one or more database operations that must execute atomically; COMMIT permanently saves all changes made in the current transaction
D A transaction is the process of connecting to a database and executing the queries; COMMIT closes the connection once the SQL is executed
E A transaction is a stored procedure execution; COMMIT compiles the stored procedure
Practice Next

Relevant for Exams:

Hey! Ask a query