Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Is there an updated result set OCI example?
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