Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.tools -> SQL Plus silent mode problem
I'm using SQLPlus in silent mode to run a batch script like (sqlplus -s scott/tiger_at_TESTDB @myscript.sql).
This works perfect when the database is available. If the database is not available the SQLPlus tries to connect to the database and gets into the SQLPlus prompt for logon information. Does anybody know how to get straight to the exit after the database is not available? Otherwise my script hangs for years!!!
Thanks in advance
Rico Brun
Sent via Deja.com http://www.deja.com/
Before you buy.
Received on Thu Dec 07 2000 - 06:16:38 CST
![]() |
![]() |