How to connect to an unmounted database

I am making som housekeeping for a standby database.
For that purpose I would like to be able to connect to a running instance with the database shutdown, like I can do in SQLPLUS with
"connect / as sysdba"

However trying to connect with an OracleSession
(ConnectAs=caSYSDBA
LogonDatabase, LogonUsername, and LogonPassword are all empty)
gives the error message:
ORA-01034: Oracle not available.

After a "startup nomount" (in SQLPLUS) the connection will succed.
Are there any ways to connect to the running instance with the database shutdown?
busk
 
This is not possible with Direct Oracle Access. You need to launch SQL*Plus and execute a script to accomplish this.

------------------
Marco Kalter
Allround Automations
 
Back
Top