ITPub博客

首页 > 数据库 > Oracle > 【OCP 062新题】OCP题库更新出现大量新题-9

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

Oracle 作者:unix_5359 时间:2019-04-25 11:42:59 0 删除 编辑

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。本题的难度在于对答案的英文理解。)

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/31544987/viewspace-2642485/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
ocp考试资料群:569933648 验证码:ocp OCP 12c 19c考试题库解析与资料群:钉钉群号:35277291

注册时间:2018-07-05

  • 博文量
    256
  • 访问量
    157542