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 CURRENT_USER USING ‘HQ’;
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’;
C