Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: SQLCode in 8i

RE: SQLCode in 8i

From: Bala, Prakash <prakash.bala_at_cingular.com>
Date: Wed, 28 Mar 2001 09:57:51 -0800
Message-ID: <F001.002DA45D.20010328082532@fatcity.com>

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). Received on Wed Mar 28 2001 - 11:57:51 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US