Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: exit status of sqlplus???
Use the WHENEVER OSERROR or WHENEVER SQLERROR to trap errors and handle them.
Fro example,
WHENEVER OSERROR EXIT FAILURE WHENEVER SQLERROR EXIT FAILURE These will return a non zero exit status.
Regards,
Mike Received on Fri Feb 21 1997 - 00:00:00 CST