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

Home -> Community -> Usenet -> c.d.o.tools -> Re: calling stored procedure mfrom vc++

Re: calling stored procedure mfrom vc++

From: <jocave_at_my-deja.com>
Date: Mon, 30 Oct 2000 20:34:08 GMT
Message-ID: <8tkm00$5a5$1@nnrp1.deja.com>

In article <svpuae3ig6kif3_at_corp.supernews.com>,   krithika <krithika_net_at_rediffmail.com> wrote:
> hi
> i have connected oracle with vc++ using odbc
> how should i call stored procedures from vc++ and pass parameters to
> oracle

A couple of options

SQLExecDirect( '{call yourStoredProcedure( 'param1', 'param2' )}', ...

or

SQLPrepare( '{call yourStoredProcedure( ?, ? )}', ... SQLBindParameter
SQLBindParameter
SQLExecute

--
Justin Cave - Oracle ODBC Development

Opinions expressed herein are my own and may not reflect those of
Oracle Corporation.


Sent via Deja.com http://www.deja.com/
Before you buy.
Received on Mon Oct 30 2000 - 14:34:08 CST

Original text of this message

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