Which statement is true regarding transactions?

Which statement is true regarding transactions? (Choose all that apply.)

Which statement is true regarding transactions? (Choose all that apply.)

A.
A transaction can consist only of a set of DML and DDL statements.

B.
A part or an entire transaction can be undone by using ROLLBACK command.

C.
A transaction consists of a set of DML or DCL statements.

D.
A part or an entire transaction can be made permanent with a COMMIT.

E.
A transaction can consist of only a set of queries or DML or DDL statements.



Leave a Reply 4

Your email address will not be published. Required fields are marked *


Giulia

Giulia

Answer: B,D

George Pinto Mendes

George Pinto Mendes

Resposta ‘B’ e ‘D’

Hola

Hola

A. False – doesn’t have to be a set
“A database transaction consists of one or more statements. Specifically, a transaction consists of one of the following:

One or more data manipulation language (DML) statements that together constitute an atomic change to the database

One data definition language (DDL) statement”
B. True
C. False
D. False, commit makes entire transaction permanent
E. False, Would be correct if “queries” is not there

Answer: B