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

目录
相关文章
|
数据安全/隐私保护 关系型数据库 Oracle
OCP-052考试题库汇总(60)-CUUG内部解答版
Examine these facts about a database: The database default tablespace to EXAMPLE. DEFERRED_SEGMENT_CREATION is TRUE (原来为 FALSE,题目有错) Examine these co...
3729 0
|
Oracle 关系型数据库 数据库
OCP-052考试题库汇总(49)-CUUG内部解答版
Which two statements are true about the Automatic Diagnostic Repository (ADR) ? A)It only exists if DIAGNOSTIC_DEST is configured in the SPFILE.
963 0
|
数据库 存储
OCP-052考试题库汇总(48)-CUUG内部解答版
Which is true about the Automatic Diagnostic Repository (ADR) ? A) It is used only if the DIAGNOSTIC_DEST parameter is manually configured.
739 0
|
Oracle 关系型数据库 数据库
OCP-052考试题库汇总(45)-CUUG内部解答版
You want to access employee details contained in flat files created by an application. Which two methods will achieve this? A)Use a BFILE column in a table to access the flat file.
1862 0
|
SQL
OCP-052考试题库汇总(44)-CUUG内部解答版
Which two are true about external tables? A)They can be stored in an ASM Cluster File System(ACFS). B)They can always be updated using SQL.
8258 0
|
SQL 数据库 关系型数据库
OCP-052考试题库汇总(43)-CUUG内部解答版
Which is true about external tables? A)Segments are allocated for external tables. B)They may have indexes.
2131 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'...
791 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.
732 0
OCP-052考试题库汇总(34)-CUUG内部解答版
Where is an expdp operation tracked? A)dump files B)control file C)log files D)Automatic Diagnostic Repository(ADR) E)master table (MT) Answer: E 赵: 题译:哪里有一个 Exdp 操作跟踪? Master table 是一个临时 table,专门为 import pump 和 export pump 创建的,一旦完成就会自动被 drop。
598 0
|
数据库 关系型数据库 Oracle
OCP-052考试题库汇总(32)-CUUG内部解答版
Which state must a database be to enable ARCHIVELOG ? A)NOMOUNT B)OPEN IN READ WRITE mode C)OPEN IN READ ONLY mode D)OPEN IN RESTRICTED mode E)MOUNT ...
708 0