Re: OCI vs. Pro*C

From: David Clement <clement1_at_llnl.gov>
Date: 7 Jan 1994 19:52:41 GMT
Message-ID: <clement1-070194110232_at_attilla.llnl.gov>


In article <1994Jan7.155545.14566_at_drd.com>, mark_at_drd.com (Mark.Lawrence) wrote:
>
> Is the 3gl API, OCI, really deprecated by Oracle in favor of Pro*C (the
> embedded SQL pre-compiler)?

I would like very much to hear more opinions on this subject. Here's my own measly 2 cents, or less. (You be the judge of what it's worth.)

I've encountered this opinion before -- that ORACLE deprecates the OCI in favor of Pro*C -- but my personal experience doesn't bear it out; in fact, at CODA '93 Bhushan Fotedar seemed to claim the opposite in a technical seminar on OCI. But maybe that's not the Party Line.

I've also encountered the opinion that porting OCI stuff from ORACLE 6 to ORACLE 7 is very hard, but I just finished such a port, and it was easy. The only changes in the C code came to 7 lines of new code out of umpty-hundred, and those were just for prettier output.

I've written a lot of C with embedded OCI. It's a good tool, for me at least.



David Clement || The expinions oppressed might well be my own, clement1_at_llnl.gov || if I could remember them.
Received on Fri Jan 07 1994 - 20:52:41 CET

Original text of this message