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.

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.

  1. EMP_TRG is a trigger on EMP.

Examine this command:

$ expdp system/oracle \

FULL =Y \

EXCLUDE=TABLE:"= 'EMP' "\

DIRECTORY=data_pump_dir \

DUMPFILE=full_db.dmp \

LOGFILE=full_db.1og

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 生成一个日志文件。

目录
相关文章
OCP-052考试题库汇总(57)-CUUG内部解答版
Examine these facts about a databases: 1.USERS is the database default tablespace. 2.USER1,USER2,and USER3 have the CREATE SESSION privilege 3.
763 0
|
数据库管理
OCP-052考试题库汇总(46)-CUUG内部解答版
Examine this command: SQL> CREATE GLOBAL TEMPORARY TABLE report_work_area (startdate DATE, enddate DATE, class CHAR(20)) ON COMMIT PRESERVE ROWS; Whi...
789 0
OCP-052考试题库汇总(42)-CUUG内部解答版
You successfully executed these commands: connect scott/tiger@prod1; CREATE DATABASE LINK db_prod2 CONNECT TO scott IDENTIFIED BY tiger USING 'PROD2'...
819 0
|
数据库 关系型数据库 Oracle
OCP-052考试题库汇总(39)-CUUG内部解答版
Which three are true about auditing? A)Auditing is active only when the database is OPEN. B)Audit records are always stored in the database.
759 0
|
数据安全/隐私保护 关系型数据库 Oracle
OCP-052考试题库汇总(35)-CUUG内部解答版
Which two are true about Oracle Data Pump in Oracle Database 11g Release 2? A)If the directory used in the export operation has existing dump files, it overwrites them.
723 0
|
Oracle 关系型数据库 数据库
OCP-052考试题库汇总(33)-CUUG内部解答版
Which two can be exported by a non-administrative account by using Data Pump? A)directory objects B)tables C)tablespaces D)schemas E)database Answer: BD 赵: EXP 和 IMP 是客户端工具程序,它们既可以在客户端使用,也可以在服务端使用。
673 0
|
Oracle 关系型数据库 数据库
OCP-052考试题库汇总(31)-CUUG内部解答版
which four are true about the tools used to administer Oracle database? A)the Data Pump utility can be used to load data from text files.
822 0
|
Oracle 关系型数据库 数据库
OCP-052考试题库汇总(28)-CUUG内部解答版
Archivelog mode is enabled for your database and DB_CREATE_FILE_DEST is set to ‘/u01/oracle/db01’. The parameters, DB_CREATE_ONLINE_LOG_DEST_n and DB_RECOVERY_FILE_DEST, and not specified.
640 0
|
关系型数据库 Oracle 存储
OCP-052考试题库汇总(23)-CUUG内部解答版
11g版本的OCP考试持续了好几年,一直比较稳定,直到2018年4月份左右,052考试不断的出现新的考题,虽然我们收集整理了不少,但新题还是难避免,这样出现一部分新题,我们收集一部分,持续了不短的时间。
1087 0
OCP-052考试题库汇总(24)-CUUG内部解答版
Which structure can span multiple data files? A)a bigfile tablespace B)a permanent tablespace C)a segment D)a temporary tablespace E)an extent Answer...
429 0