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

Home -> Community -> Usenet -> c.d.o.misc -> Re: PL/SQL & C++

Re: PL/SQL & C++

From: Michael Krolewski <vandra_at_u.washington.edu>
Date: Sun, 17 Jan 1999 11:31:11 -0800
Message-ID: <36A23A7F.AC1F76E4@u.washington.edu>


You can use the OCI functions --- a bit cumbersome -- or OTL a C++ library that someone (who?) has to reduce some of the overhead and add streams.

Assuming the stored procedure exists in your database you can create a parsed startment like

char someParsed[] = "begin\n"

                                    " thatStoredProcedure( arg1, arg2, arg3 );
                                "end;";

Using the appropriate functions, you can get IN OUT parameters or returned values.

Mike Krolewski.

amerar_at_theocc.com wrote:

> Hello,
>
> Can anyone tell me the utility I need to preprocess embedded PL/SQL that is
> within a C or C++ program?
>
> Please send responses to e-mail.
>
> Thanks,
>
> Arthur
> amerar_at_theocc.com
>
> -----------== Posted via Deja News, The Discussion Network ==----------
> http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
Received on Sun Jan 17 1999 - 13:31:11 CST

Original text of this message

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