cnblogs5359

79、Which statement is true about transactions?

A. A set of Data Manipulation Language (DML) statements executed in a sequence ending with a SAVEPOINT forms a single transaction.

B. Each Data Definition Language(DDL) statement executed forms a single transaction.

C. A set of DDL statements executed in a sequence ending with a COMMIT forms a single transaction.

D. A combination of DDL and DML statements executed in a sequence ending with a COMMIT forms a single transaction.

Correct Answer: B

Section: (none) Explanation:每个DDL语句都是一个事务,因为DDL语句执行后自动提交。如果A答案SAVEPOINT改为COMMIT或者ROLLBACK那么就是正确的。

分类:

技术点:

相关文章:

  • 2021-12-18
  • 2022-12-23
  • 2022-12-23
  • 2021-05-30
  • 2022-01-07
  • 2021-12-12
  • 2021-12-12
  • 2021-12-12
猜你喜欢
  • 2022-12-23
  • 2021-12-18
  • 2021-12-16
  • 2021-05-17
  • 2022-12-23
  • 2021-12-12
  • 2021-12-13
相关资源
相似解决方案