News Stay informed about the latest enterprise technology news and product updates.

Connecting as internal in SQL*Plus, export and import

Database administration tip #1 from "30 Oracle tips in 30 minutes," brought to you by the IOUG.

The following is database administration tip #1 from "30 tips in 30 minutes," brought to you by the IOUG. Return to the main page for more tips on this topic.

It's time to get used to controlling your database from SQL*Plus rather than server manager. Yet many DBAs still use server manager for tasks like startup and shutdown.

To connect as internal in SQL*Plus, connect as SYSDBA as any user who possesses the SYSDBA privilege. You cannot provide the password on the command line. You must use the /nolog option.
LINUX> sqlplus /nolog,br> SQL> Connect sys/change_on_install as sysdba

To connect as internal in export or import, place your connect string in the quotation marks within a parameter file like this:

USERID = "sys/pinnacle as sysdba"

Get more tips in minutes! Return to the main page.

About the author: Kenny Smith has been working with Oracle technology on HP servers for over a decade. He specializes in Oracle database architecture, database administration and development. He has presented at numerous Oracle conferences on two continents. He has published many articles describing Oracle solutions and has co-authored "Oracle backup and recovery 101" from Oracle Press.

IOUG: Become a member of the IOUG to access the paper referenced here and a repository of technical content created for Oracle users by Oracle users.

Dig Deeper on Oracle and SQL

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.