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: Regina Harter <rharter_at_emc-inc.com>
Date: Wed, 28 Mar 2001 13:02:16 -0800
Message-ID: <F001.002DAAEF.20010328130053@fatcity.com>

We're not connecting via ODBC, we're using the native drivers, but yes, we have tried both the 7.3 driver we used to use and both the 8.0 and 8.1 drivers.

At 12:12 PM 3/28/01 -0800, you wrote:
>Regina, did you try using the ODBC driver that you used earlier.
>
>-----Original Message-----
>Sent: Wednesday, March 28, 2001 1:46 PM
>To: Multiple recipients of list ORACLE-L
>
>
>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).
>--
>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 - 15:02:16 CST

Original text of this message

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