Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: SQL Plus on Windows

Re: SQL Plus on Windows

From: Howard J. Rogers <howardjr2000_at_yahoo.com.au>
Date: Tue, 11 Mar 2003 03:55:14 +1100
Message-Id: <pan.2003.03.10.16.55.14.67360@yahoo.com.au>


On Mon, 10 Mar 2003 14:50:32 +0200, steve wrote:

>
> I've posted this also on comp.database.oracle
>
> I saw James' posting on SQL Plus today and I have a similar issue but I'm
> using windows and Oracle 9.
>
> My aim is to perform the following command and I think that SQL PLUS is the
> best option but I could be wrong:
> startup pfile=d:\orant\database\init.ora recover database;
> alter database open.;
>
> I open SQL PLus and it asks for a
> User Name: SYS
> Password: ******
> Host String: dbname
>
> Error: ORA-01034: Oracle not available
> ORA-27101: shared Memory realm does not exist
>

Be precise. You're using sqlplusw.exe, not sqlplus.

> Firstly how was I suppose to say that I wanted to log on as sysdba?

By typing dbname as sysdba in the host string window, from memory.

> Secondly the database is shutdown so how do I log in with SQL PLUS?

You're not actually using sql plus, but sqlplusw.exe. There's a difference. I assume you mean 'how can I connect to something that doesn't exist?'. Because you're not connecting to an Instance, but to a server process which your connection request causes to be spawned on demand.

>If it is
> not possible to log on to SQL Plus what is the best way to perform this
> command?
>
> Can anyone help me with how to perform this command. Please explain well.
> Cause I'm very new to playing arround with Oracle.

As others have posted, using the command line version of sqlplus is a better way to go. Or isqlplus. Or Enterprise Manager.

Regards
HJR
>
> thanks
> Steve Moore
Received on Mon Mar 10 2003 - 10:55:14 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US