Skip to Main Content
Oracle SQL*Plus Pocket Reference
book

Oracle SQL*Plus Pocket Reference

by Jonathan Gennick
April 2000
Intermediate to advanced content levelIntermediate to advanced
94 pages
1h 52m
English
O'Reilly Media, Inc.
Content preview from Oracle SQL*Plus Pocket Reference

Name

CONNECT

Synopsis

CONN[ECT] [username[/password][@connect] | 
   / ] [AS {SYSOPER | SYSDBA}] | [INTERNAL]

The CONNECT command is used to change your database connection, log in as a different user, or connect to the database in an administrative mode. For example:

CONNECT SYSTEM/MANAGER@EMPDB
CONNECT /
CONNECT SYSTEM/MANAGER AS SYSDBA

Parameters

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.

/

Allows you to 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.
Start your free trial

You might also like

Oracle SQL*Plus Pocket Reference, 3rd Edition

Oracle SQL*Plus Pocket Reference, 3rd Edition

Jonathan Gennick
Expert Oracle Exadata

Expert Oracle Exadata

Kerry Osborne, Randy Johnson, Tanel Pöder

Publisher Resources

ISBN: 1565929411Catalog PageErrata