Tuesday, January 17, 2006

WHENEVER OSERROR EXIT what?

The SQL*Plus User's Guide and Reference, Release 9.2 on WHENEVER OSERROR command does not mention OSCODE as a possible (system) variable to be used as exit code (just as SQL.SQLCODE is for WHENEVER SQLERROR EXIT) - however this is suggested by SQL*Plus when issuing just WHENEVER OSERROR;.

So which is right (the manual or SQL*Plus) - I cannot tell (Oracle is funny (that way)).

0 Comments:

Post a Comment

<< Home