OCP-052考试题库汇总(42)-CUUG内部解答版

简介: You successfully executed these commands:connect scott/tiger@prod1;CREATE DATABASE LINK db_prod2CONNECT TO scott IDENTIFIED BY tigerUSING 'PROD2'...

You successfully executed these commands:

connect scott/tiger@prod1;

CREATE DATABASE LINK db_prod2

CONNECT TO scott IDENTIFIED BY tiger

USING 'PROD2';

Which type of database link is created?

A)private current user database link

B)public connected user database link

C)public current user database link

D)private fixed user database link

E)public fixed user database link

Answer: D

赵:

总结:

默认创建的是 private connect,create 子句中没有这两个关键字,是 private connected 类型的;

Create 子句中有 public 关键字的是 public 类型的;

Create 子句中有 current_user 关键字的是 current 类型的;

Create 子句中有 identified by 关键字的是 fixed 类型的;

资料:blog-itpub-net/31397003/viewspace-2137245/

PDF 上有个表格没复制过来。

CREATE SHARED database link link_name

CONNECT TO [user IDENTIFIED BY password]

[AUTHENTICATED BY user IDENTIFIED BY password]

[USING 'connect_string']

Dblink 分三类:用户级(private)、数据库级(public)、网络级。

默认情况下创建的是用户级(private)。

另参考:www-cnblogs-com/sumsen/archive/2013/03/04/2943471.html

几种类型DBLINK创建示例:

--Private connected user

CREATE database link

sales.us.americas.acme_auto.com USING ‘sales_us’;

--Private current user

CREATE database link foo

CONNECT TO CURRENT_USER USING ‘am_sls’;

--Private fixed user

CREATE database link

sales.us.americas.acme_auto.com

CONNECT TO scott IDENTIFIED BY tiger USING ‘sales_us’;

--Public fixed user

CREATE PUBLIC database link

sales CONNECT TO scott IDENTIFIED BY tiger USING ‘rev’;

--Shared public fixed user

CREATE SHARED PUBLIC database link

sales.us.americas.acme_auto.com

CONNECT TO scott IDENTIFIED BY tiger AUTHENTICATED BY

anupam IDENTIFIED BY bhide USING ‘sales’;

目录
相关文章
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.
775 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.
785 0
|
Oracle 关系型数据库 数据库管理
OCP-052考试题库汇总(47)-CUUG内部解答版
Which three are true about the Automatic Database Diagnostic Monitor (ADDM)? A)It improves database performance by automatically implementing Oracle ‘s best practices.
858 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.
1886 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。
628 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.
834 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 ...
748 0
|
Oracle 关系型数据库
OCP-052考试题库汇总(29)-CUUG内部解答版
When does an incremental checkpoint occur ? A)when an online redo log switch occurs. B)when DBWn writes dirty buffers as part of its normal processing.
1072 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.
656 0
OCP-052考试题库汇总(27)-CUUG内部解答版
Which two of these must be available READ/WRITE to keep a database open? A)all copies of the control file.
548 0