Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: SQLCode in 8i
Thanks for the suggestion, Prakash, but SQLDBCode is also returning 0 for no rows found.
At 08:25 AM 3/28/01 -0800, you wrote:
>Regina, try sqldbcode. This will give the exact Oracle return code.
>
>Prakash
>
>-----Original Message-----
>Sent: Wednesday, March 21, 2001 9:05 PM
>To: Multiple recipients of list ORACLE-L
>
>
>We have a number of Powerbuilder applications for which we have been using
>the SQLCode returned from a sql statement execution to determine the next
>action, depending on if the statement failed (SQLCode < 0), didn't return
>any rows (SQLCode = 100) or successfully returned data (SQLCode = 0). We
>upgraded to 8.1.6 two weeks ago, and just discovered that, outside of an
>exception block, SQLCode now always returns 0. Do any of you know a way to
>return to the old codes, or make it treat Powerbuilder like an exception
>block, or know of some other code we could use to gather this information?
>
>--
>Please see the official ORACLE-L FAQ: http://www.orafaq.com
>--
>Author: Regina Harter
> INET: rharter_at_emc-inc.com
>
>Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
>San Diego, California -- Public Internet access / Mailing Lists
>--------------------------------------------------------------------
>To REMOVE yourself from this mailing list, send an E-Mail message
>to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
>the message BODY, include a line containing: UNSUB ORACLE-L
>(or the name of mailing list you want to be removed from). You may
>also send the HELP command for other information (like subscribing).
>--
>Please see the official ORACLE-L FAQ: http://www.orafaq.com
>--
>Author: Bala, Prakash
> INET: prakash.bala_at_cingular.com
>
>Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
>San Diego, California -- Public Internet access / Mailing Lists
>--------------------------------------------------------------------
>To REMOVE yourself from this mailing list, send an E-Mail message
>to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
>the message BODY, include a line containing: UNSUB ORACLE-L
>(or the name of mailing list you want to be removed from). You may
>also send the HELP command for other information (like subscribing).
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Regina Harter INET: rharter_at_emc-inc.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Wed Mar 28 2001 - 12:44:16 CST
![]() |
![]() |