QuestionQ72

VerifiedConfiguring the Oracle Network Environment

Examine the following command, executed on a client remote from the database server.

SQL> CONNECT hr/hr@orcl -  

Which two are required for this command to connect the SQLPLUS client to a database instance?

Choose two
Explanation

A remote SQL*Plus connection that uses a net service name requires that alias to be resolvable on the client, typically through a client-side tnsnames.ora entry. Its connect descriptor specifies a SERVICE_NAME; the listener must have that matching database service registered or configured so it can direct the connection. The alias name itself does not need to be the listener’s service name, and no server-side tnsnames.ora alias is required.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!