Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: connecting automatically as sys
Gerry Sinkiewicz wrote:
>
>> >> SQLPLUS "/ AS SYSDBA" >>
On my systems (Windows 2000, United Linux 1.0 and Solaris 8) it does work the way I wrote it - adjusting for lowercase sqlplus executables as appropriate. It ALSO works your way on the UL1/SLES8 (I have not consciously tried it on the others).
Thinking for a millibleem .... the key point is to get the 'as sysdba' transmitted as part of the userid arg. As long as sqlplus parses on the ' as ' keyword we are OK, provided we pass the whole set of information (user, "slash" password "as sysdba") as a single arg.
Your method works but could run into an issue if Unix' IFS is set to '/' or potentially if you start using a password, as in
sqlplus sys/mypass"as sysdba"
Your experience on your OS appreciated. BTW - which OS is it?
/Hans Received on Sat Jul 24 2004 - 22:13:58 CDT
![]() |
![]() |