sqlplus in batch mod with sys user

sqlplus in batch mod with sys user

 

  


Hi, folks:

My platform is 9i on w2k.
I tried to logon remotely with 9i client

My following cmd used to work in 8i but not in 9i anymore, any way to make
it work in 9i

Sqlplus.exe sys/[Email address protected] @sqlcmd.sql

I got ERROR:
ORA-28009: connection to sys should be as sysdba or sysoper

Then I tried
Sqlplus.exe [Email address protected] as sysdba @sqlcmd.sql

But it didn't work

Oracle LazyDBA home page