Library |
Product |
Contents |
Index |
SQLPLUS [[-S[ILENT]] [logon] [start]]|-|-?where:
logon | Requires the following syntax: |
username[/password] [@database_specification]|/|/NOLOG | |
start | Allows you to enter the name of a command file and arguments. SQL*Plus passes the arguments to the command file as though you executed the file using the SQL*Plus START command. The start clause requires the following syntax: |
@file_name[.ext][arg ...] | |
See the START command for more information. |
Refer to the following list for a description of each term or clause:
Example 6-1 Starting SQL*Plus
To start SQL*Plus with username SCOTT and password TIGER, enter
SQLPLUS SCOTT/TIGERTo start SQL*Plus, as above, and to make POLICY the default database (where POLICY is a valid SQL*Net database connection string), enter
SQLPLUS SCOTT/TIGER@POLICYTo start SQL*Plus with username SCOTT and password TIGER and run a command file named STARTUP with the extension SQL, enter
SQLPLUS SCOTT/TIGER @STARTUPNote the space between TIGER and @STARTUP.
Example 6-2 Displaying the SQLPLUS syntax
To display the syntax of the SQLPLUS command, enter
SQLPLUS -SQL*Plus displays the following
Usage: SQLPLUS [<option>] [<user>[/password>] [@<host>]] [@<startfile> [<parm1>] [<parm2>] ...] where <option> ::= {-s|-?} -s for silent mode and -? to obtain version number
SQL> HELP ACCEPTIf you get a response that help is unavailable, consult your database administrator. See the HELP command for more information.
Prev Next |
Copyright © 1997 Oracle Corporation. All Rights Reserved. |
Library |
Product |
Contents |
Index |