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 -> Re: Difference between Pro*C and OCI

Re: Difference between Pro*C and OCI

From: Ryan Gaffuri <rkg100_at_erols.com>
Date: Tue, 5 Mar 2002 18:43:18 -0400
Message-ID: <a63lnm$3l5$1@bob.news.rcn.net>


So I would assume that ProC has more limitations. When would I want to use the OCI over ProC?

"Sybrand Bakker" <postbus_at_sybrandb.demon.nl> wrote in message news:mnka8ukl6o52f9o6jojppv31lmbd3huko7_at_4ax.com...
> On Tue, 5 Mar 2002 18:06:19 -0400, "Ryan Gaffuri" <rkg100_at_erols.com>
> wrote:
>
> >I was reading the documentation and I cant find any compare and contrast
> >between the two.
> >
> Pro*C is a Host Language Interface. The Pro*C preprocessor translates
> your statements in ordinary C.
> OCI (Oracle Call Interface) is basically an API, you program C
> directly, you have to setup your own memory structure, explicitly
> parse the statement yourself etc. In Pro*C that is taken care of for
> you by the preprocessor. Pro*C is much easier to program.
>
> Hth
>
> Sybrand Bakker, Senior Oracle DBA
>
> To reply remove -verwijderdit from my e-mail address
Received on Tue Mar 05 2002 - 16:43:18 CST

Original text of this message

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