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: Sybrand Bakker <postbus_at_sybrandb.demon.nl>
Date: Wed, 06 Mar 2002 00:23:58 +0100
Message-ID: <mnka8ukl6o52f9o6jojppv31lmbd3huko7@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 - 17:23:58 CST

Original text of this message

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