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

Home -> Community -> Usenet -> c.d.o.server -> Is there an updated result set OCI example?

Is there an updated result set OCI example?

From: Joe Edwards <cleanh2o_at_cleanh2o.com>
Date: Sat, 27 Feb 1999 18:31:47 -0800
Message-ID: <Pine.LNX.4.05.9902271819001.20748-100000@cleanh2o.com>

The ~/oracle/rdbms/demo/cdemo2.c example was very helpful. I am porting some informix/ESQL code from an HP to OCI on a SUN. I was able to do nested queries using the functions in cdemo2. I can have a number of cursors open at the same time and I don't have to explicitly call define the number of columns and datatypes that will be returned. This is cool.

Everything would be fine except that the Oracle documentation recommends that I don't use ofetch, odefin, odescr, oparse, obind, ologon and other functions that cdemo2 uses. I'd prefer to make use of the OCI* functions. Is there an cdemo2 equivalent example that uses the OCI* functions? I'd like to know before I go rewriting the code myself.

Thanks, Joe

-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-

    The keeper of the Wastewater Engineering Virtual Library (WWEVL)     the WWEVL URL == http://www.cleanh2o.com/ww/
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
Received on Sat Feb 27 1999 - 20:31:47 CST

Original text of this message

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