OCP-052考试题库汇总(37)-CUUG内部解答版
Examine these facts about objects in the SYSTEM schema:
1.EMP is a table. 2.EMP_PK is a primary key constraint on EMP.ENO. 3.EMP_IDX is an index on EMP.MGR_NO. 4.EMP_SEQ is a sequence used to generate values for EMP.ENO. 5.EMP_OPS_PKG is a package that performs DML operations on EMP. 6.EMP_VU is a view on EMP.
Examine this command: $ expdp system/oracle
Which three objects will be exported? A)EMP_PK B)EMP_SEQ C)EMP_OPS_PKG D)EMP_VU E)EMP_IDX F)EMP_TRG G)EME_FN Answer: BCD(已验证) CUUG:如果在导出的过程中排除了一张表,那么跟这张表相关的数据就不会导出,比如表的结构、数据、索引、约束、触发器等。但是其它跟这张表相关的关系不是密切的对象还是会导出,比如:该表引用的序列、访问该表的存储过程、创建在该表上的视图等。这道题是新题,相关的内容以前没有出现过。 expdp system/oracle DUMPFILE=scott.dmp DIRECTORY=dmpdir SCHEMAS=scott EXCLUDE=TABLE:"IN(‘EMP‘)" SCHEMAS=scott 注意以上 exclude 的语法。 赵: 参数说明:full=y 导出整个数据库,exclude=table 排除表,logfile 生成一个日志文件。 (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |