博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
【OCP题库-12c】最新CUUG OCP 071考试题库(70题)
阅读量:6379 次
发布时间:2019-06-23

本文共 953 字,大约阅读时间需要 3 分钟。

70、(31-2)choose the best answer:

View the Exhibit and examine the structure of the Book table.

The BOOKS table contains details of 100 books.

Examine the commands executed and their outcome:

SQL>INSERT INTO books VALUES ('ADV112', 'Adventures of Tom Sawyer',null,null);

1 row created.

SQL>SAVEPOINT A;

Savepoint created.

SQL>DELETE FROM books;

101 rows deleted.

SQL>ROLLBACK TO SAVEPOINT A;

Rollback complete.

SQL>ROLLBACK;

Rollback complete.

Which statement is true?

A) The first rollback restores the 100 rows that were deleted and the second rollback commits only the changes.

B) Both ROLLBACK commands restore the 101 rows that were deleted.

C) The first rollback restores the 101 rows that were deleted and the second rollback causes the row that was inserted to be deleted and commits the changes.

D) Both ROLLBACK commands restore the 100 rows that were deleted.

Answer:C

 

(解析:答案很简单,考的是回滚操作)

转载于:https://www.cnblogs.com/cnblogs5359/p/10494178.html

你可能感兴趣的文章
Spring Security整合KeyCloak保护Rest API
查看>>
POS概述
查看>>
containerd发布了CRI修复程序和CVE-2019-5736更新的runc
查看>>
WEB前端开发的思考与感悟
查看>>
微信自动跳转浏览器打开APP(APK)下载链接
查看>>
==与===的区别
查看>>
不同工具查看代码分支diff的差异
查看>>
白话Java I/O模型
查看>>
上传一张照片,让算法告诉你是否患有抑郁症
查看>>
VR厂商唯晶科技获2800万C+轮融资,曾开发过游戏《圣女之歌》
查看>>
Countly 19.02.1 发布,实时移动和 web 分析报告平台
查看>>
TCP连接中time_wait在开发中的影响-搜人以鱼不如授之以渔
查看>>
Oracle数据库机出新帮助不同规模企业迈向云端
查看>>
前端通信:ajax设计方案(六)--- 全局配置、请求格式拓展和优化、请求二进制类型、浏览器错误搜集以及npm打包发布...
查看>>
微服务分布式企业框架 Springmvc+mybatis+shiro+Dubbo+ZooKeeper+Redis+KafKa
查看>>
被《时代周刊》选为年度最佳发明,PS VR靠的竟然是价格
查看>>
通用唯一标识码UUID的介绍及使用。
查看>>
spring笔记--依赖注入之针对不同类型变量的几种注入方式
查看>>
Ajax的简单学习
查看>>
为npm配置taobao源
查看>>