码迷,mamicode.com
首页 > 其他好文 > 详细

【OCP 062新题】OCP题库更新出现大量新题-9

时间:2019-04-25 13:10:25      阅读:185      评论:0      收藏:0      [点我收藏+]

标签:tab   tables   create   cto   nta   splay   director   过滤   验证   

9.You ran this command on a source database:

$> expdp hr/hr DIRECTORY=dumpdir DUMPFILE=empl.dmp VIEWS_AS_TABLES=emp_dept

On the target database, you run this command:

impdp hr/hr DIRECTORY=dumpdir DUMPFILE=empl.dmp VIEWS_AS_TABLES=emp_dept

Which two statements are true?

A) The expdp operation exports the table definitions for tables that are queried in the emp dept view.

B) The impdp operation creates emp_dept as a view.

C) The expdp operation exports all rows that are displayed when querying the emp_dept view with no filter.

D) The expdp operation exports all rows for tables contained in the defining query of the emp_dept view.

E) The impdp operation creates separate tables for each table contained in the defining query of the EMP_DEPT View.

F) The impdp operation creates emp_dept as a table.

Answer:CE

(解析:实验证明 VIEWS_AS_TABLES 导出时会导出视图中查询到的数据,导入时会把 emp_dept 当作表创建。C 答案的意思是:expdp 操作将导出查询 EMP_DEPT 视图时显示的所有行,而不使用过滤器,所以正确。D 答案的意思是:expdp 操作将导出 EMP_DEPT 视图定义中包含的表的所有行,导出的是表的所有行,所以不对。E 答案是将为 emp_dept 视图中涉及到的表单独创建各自的表,其实是就建立一个表 emp_dept。本题的难度在于对答案的英文理解。来自3组:1015267481)

【OCP 062新题】OCP题库更新出现大量新题-9

标签:tab   tables   create   cto   nta   splay   director   过滤   验证   

原文地址:https://blog.51cto.com/13854012/2384412

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!