Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

"sqlplus / as sysdba" in 9iR2

1 view
Skip to first unread message

meathammer

unread,
Jun 20, 2006, 10:59:26 AM6/20/06
to
in 9.2.0.4.0:
-------------
$ sqlplus / as sysdba
Usage: SQLPLUS [ [<option>] [<logon>] [<start>] ]

in XE:
-------
$ sqlplus / as sysdba
sys@XE>

So "sqlplus / as sysdba" works differently in 9iR2 vs XE.
Is this the "normal" behavior under 9iR2 ?

Chuck

unread,
Jun 20, 2006, 11:05:17 AM6/20/06
to

What's XE?

Were these both done on the same o/s? Try...

sqlplus '/ as sysdba'

In unix space is the argument delimted but sqlplus wants the "/ as
sysdba" to be a single argument so the spaces need to be escaped.

hpuxrac

unread,
Jun 20, 2006, 11:08:21 AM6/20/06
to

Yes.

XE is version 10 which includes a syntax change to support the "sqlplus
/ as sysdba". Before that you had to do it differently.

meathammer

unread,
Jun 20, 2006, 11:26:13 AM6/20/06
to
On Tue, 20 Jun 2006 15:05:17 +0000, Chuck wrote:
> What's XE?
>
> Were these both done on the same o/s? Try...
>
> sqlplus '/ as sysdba'
>
> In unix space is the argument delimted but sqlplus wants the "/ as
> sysdba" to be a single argument so the spaces need to be escaped.

XE is the free "Express Edition"
http://www.oracle.com/technology/products/database/xe/index.html

OS is Linux.

as I experienced and "hpuxrac" pointed out,
pre-10g one must do this: $ sqlplus "/ as sysdba"
10g/XE one can just: $ sqlplus / as sysdba


Connor McDonald

unread,
Jun 21, 2006, 9:43:18 AM6/21/06
to

XE is (in effect) 10g, which is where the support for

sqlplus / as sysdba

without the quotes came in.

hth
Connor

--
Connor McDonald
Co-author: "Mastering Oracle PL/SQL - Practical Solutions"
Co-author: "Oracle Insight - Tales of the OakTable"

web: http://www.oracledba.co.uk
web: http://www.oaktable.net
email: connor_...@yahoo.com


"Semper in excremento, sole profundum qui variat."

------------------------------------------------------------

0 new messages