We have the following batch script:
( echo @release.sql echo exit ) | sqlplus x/y@orcl if %errorlevel% gtr 1 goto dberror
Issue is - the s
Take a look at:
WHENEVER SQLERROR
http://download.oracle.com/docs/cd/E11882_01/server.112/e16604/ch_twelve052.htm
WHENEVER OSERROR
http://download.oracle.com/docs/cd/E11882_01/server.112/e16604/ch_twelve051.htm