Skip to Main Content
Oracle SQL*Plus: The Definitive Guide
book

Oracle SQL*Plus: The Definitive Guide

by Jonathan Gennick
March 1999
Intermediate to advanced content levelIntermediate to advanced
528 pages
14h 39m
English
O'Reilly Media, Inc.
Content preview from Oracle SQL*Plus: The Definitive Guide

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

You might also like

Oracle SQL*Plus: The Definitive Guide, 2nd Edition

Oracle SQL*Plus: The Definitive Guide, 2nd Edition

Jonathan Gennick
Oracle PL/SQL Programming, Third Edition

Oracle PL/SQL Programming, Third Edition

Steven Feuerstein, Bill Pribyl
Oracle SQL

Oracle SQL

Dan Hotka

Publisher Resources

ISBN: 1565925785Supplemental ContentCatalog PageErrata