Which command would you execute to create the database link?

As a user of the ORCL database, you establish a database link to the remote HQ database
such that all users in the ORCL database may access tables only from the SCOTT schema
in the HQ database. SCOTT’s password is TIGER. The service mane “HQ” is used to
connect to the remote HQ database. Which command would you execute to create the
database link?

As a user of the ORCL database, you establish a database link to the remote HQ database
such that all users in the ORCL database may access tables only from the SCOTT schema
in the HQ database. SCOTT’s password is TIGER. The service mane “HQ” is used to
connect to the remote HQ database. Which command would you execute to create the
database link?

A.
CREATE DATABASE LINK HQ USING ‘HQ’;

B.
CREATE DATABASE LINK HQ CONNECT TO CXJRRENT_USER USING HQ’ S

C.
CREATE PUBLIC DATABASE LINK HQ CONNECT TO scott IDENTIFIED BY tiger
USING ‘HQ’;

D.
CREATE DATABASE LINK HQ CONNECT TO scott IDENTIFIED BY tiger USING ‘HQ’;

Explanation:



Leave a Reply 4

Your email address will not be published. Required fields are marked *


long

long

ALL USERS in the ORCL database may access tables only from the SCOTT schema
-> create PUBLIC