Sei sulla pagina 1di 2

TRANSACTION/SAVEPOINT Which statement is true regarding transactions? (Choose all that a 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 COMM !. ".A transaction can consist of only a set of #ueries or DML or DDL statements. When does a transaction com lete? (Choose all that a A.when a D"L"!" statement is e$ecuted B.when a ROLLBACK command is e$ecuted C.when a %L&'(L anonymous bloc) is e$ecuted D.when a data definition language *DDL+ statement is e$ecuted ".when a !R,-CA!" statement is e$ecuted after the pending transaction Which statements are true regarding the $OR %P&ATE clause in a SE'ECT statement? (Choose all that a l!"# A. t loc)s only the columns specified in the '"L"C! list. B. t loc)s the rows that satisfy the condition in the '"L"C! statement. C. t can be used only in '"L"C! statements that are based on a single table. D. t can be used in '"L"C! statements that are based on a single or multiple tables. ".After it is enforced by a '"L"C! statement. no other #uery can access the same rows until a COMM ! or ROLLBACK is issued. Vie( the E)hi*it and e)amine the structure o+ the OR&ERS and C%STO,ERS ta*les" E-aluate the +ollo(ing S.' command/ Which t(o statements are true regarding the outcome o+ the a*o-e 0uer!? (Choose t(o"# A. t loc)s all the rows that satisfy the condition in the statement. B. t loc)s only the columns that satisfy the condition in both the tables. C.!he loc)s are released only when a COMM ! or ROLLBACK is issued. D.!he loc)s are released after a DML statement is e$ecuted on the loc)ed rows. Which t(o statements are true regarding sa-e oints? (Choose t(o"# A.'a/epoints are effecti/e only for COMM !. B.'a/epoints may be used to ROLLBACK. C.'a/epoints can be used for only DML statements. D.'a/epoints are effecti/e for both COMM ! and ROLLBACK. l!"# l!"#

".'a/epoints can be used for both DML and DDL statements. Which statement is true regarding transactions? (Choose all that a 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 COMM !. ".A transaction can consist of only a set of #ueries or DML or DDL statements. Which three statements/commands (ould cause a transaction to end? (Choose three"# A.COMM ! B.'"L"C! C.CR"A!" D.ROLLBACK ".'A0"%O -! l!"#

Potrebbero piacerti anche