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)
阅读(991) | 评论(0) | 转发(0) |