CONNECT
The CONNECT command is used to change your database connection, log in as a different user, or to connect to the database in an administrative mode. Chapter 2 describes CONNECT for normal users. Chapter 10 describes the administrative options.
CONN[ECT] [username[/password][@connect]|/|] [AS {SYSOPER|SYSDBA}]|[INTERNAL]
where:
- CONN[ECT]
May be abbreviated CONN.
- username
Is your database username.
- password
Is your database password.
- connect
Is the connect string, or host string, telling SQL*Plus the database to which you want to connect.
- /
Use a forward slash instead of your username, password, and connect string when you want to connect to a local database using operating-system authentication.
- AS
Tells SQL*Plus you are connecting in an administrative role.
- SYSOPER
Tells SQL*Plus you are connecting as an operator.
- SYSDBA
Tells SQL*Plus you are connecting as a database administrator.
- INTERNAL
Tells SQL*Plus you want to connect internally.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access