博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
【Oracle 12c】CUUG OCP认证071考试原题解析(32)
阅读量:6405 次
发布时间:2019-06-23

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

32.choose the best answer

View the Exhibit and examine the data in EMP and DEPT tables.

In the DEPT table, DEPTNO is the PRIMARY KEY.

In the EMP table, EMPNO is the PRIMARY KEY and DEPTNO is the FOREIGN KEY referencing

the DEPTNO column in the DEPT table.

What would be the outcome of the following statements executed in the given sequence?

DROP TABLE emp;

FLASHBACK TABLE emp TO BEFORE DROP;

INSERT INTO emp VALUES (2,'SCOTT', 10);

INSERT INTO emp VALUES (3,'KING', 55);

A) Both the INSERT statements would succeed because none of the constraints on the table are automatically retrieved when the table is flashed back.

B) Only the second INSERT statement would succeed because all the constraints except referential integrity constraints that reference other tables are retrieved automatically after the table is flashed back.

C) Both the INSERT statements would fail because all constraints are automatically retrieved when the table is flashed back.

D) Only the first INSERT statement would succeed because all the constraints except the primary key constraint are automatically retrieved after a table is flashed back.

Answer:B

(解析:除了引用其他表的引用完整性约束之外,所有约束在表被闪回之后自动恢复,已经做过实验)

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

你可能感兴趣的文章
装reviewboard 碰到pycrypto的问题
查看>>
Android应用开发之(你必须知道的“文件上传时显示进度的
查看>>
使用jQuery tag handler开发一个带有标签功能的文章发布系统
查看>>
Web Interface 5.4部署Citrix Receiver客户端
查看>>
今天遇到的exeSql问题
查看>>
市场说 Web前端工程师的3项素质
查看>>
mochiweb 源码阅读(十四)
查看>>
POJ 1056 IMMEDIATE DECODABILITY(字典树,判断有没有一个是另一个的前缀)
查看>>
(笔记)我的EDN博客被评为专家博客啦
查看>>
XSLT学习
查看>>
回归分析
查看>>
DataTable List<T> 互转 扩展方法 Extension Methods
查看>>
DIV+CSS最小高度(兼容IE6\IE7\FF)(转载)
查看>>
Centos_iptables命令
查看>>
堆和栈&值类型和引用类型&装箱与拆箱[zz]
查看>>
Linux内核学习笔记四——系统调用
查看>>
xombrero 1.3.1 发布,微型 Web 浏览器
查看>>
快速升级App支持iOS6及iPhone5的4寸屏幕
查看>>
MongoDB 2.2.1 发布,分布式文档数据库
查看>>
.net连接MySQL的方法
查看>>