Name
CONNECT
Synopsis
The CONNECT command changes your database connection, logs in as a different user, or connects you to the database in an administrative mode. Chapter 2 provides examples of CONNECT.
Syntax
CONN[ECT] [username[/password][@connect] | / ] [AS {SYSOPER | SYSDBA}]
Parameters
- CONN[ECT]
Is the command, which 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 or when you want to connect as SYSDBA or SYSOPER while logged in as the Oracle software owner.
- AS {SYSOPER | SYSDBA}
Tells SQL*Plus you are connecting in an administrative role.
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