xxiii
Starting SQL*Plus Instant Client
SQL*Plus Instant Client is the SQL*Plus command-line without the
need to install
Oracle Database. For information about using it, see
Starting SQL*Plus
Command-line
on page xxi.
Because SQL*Plus Instant Client does not include a database, it is always 'remote' from
any database server. To connect to a database you must specify the
database using an
Oracle Net connection identifier.
If TNS_ADMIN is not set, then an operating system dependent set
of directories is
examined to find tnsnames.ora. This search path includes looking in the directory
specified by the ORACLE_HOME environment variable for
network/admin/tnsnames.ora. This is the only reason to set the ORACLE_HOME
environment variable for SQL*Plus Instant Client. If ORACLE_HOME is set when
running
Instant Client applications, it must be set to a directory that exists.
Connecting to a Different Database
From an
existing command-line session, enter a CONNECT command in the form:
SQL> connect
username
@
connect_identifier
You are prompted to enter your password.
Do'stlaringiz bilan baham: