This should be the first line of your script:
It will exit immediately with a non-zero number whenever it encounters an error.Code:whenever sqlerror exit sql.sqlcode
|
Results 1 to 10 of 14
Thread: Sql plus shell exit statusThreaded View
|
Click Here to Expand Forum to Full Width |