I am not sure about occi, but in oci do the following:
oopen(cda, lda, uid, -1, -1, pwd, -1)
ooparse( cda, 'begin procedure_name; end', -1, 1, 2)
oexec(cda)
the procedure must be called via an anonymous block.
michael smith
-----Original Message-----
From: debra
[mailto:oracledba-ezmlmshield-x65921365.[Email address protected]
Sent: Wednesday, May 31, 2006 10:10 AM
To: LazyDBA Discussion
Subject: Call Stored Procedure from C++
Does anyone have an example of (1) how to call a stored procedure from a
c++ program (2) how to link in the required occi libraries?
I'm assuming that occi is the way to go, but can consider other options,
recommendations. Thanks in advance!
--------
website: http://www.LazyDBA.com
Please don't reply to RTFM questions
Oracle documentation is here: http://tahiti.oracle.com
To unsubscribe: see http://www.lazydba.com/unsubscribe.html
To subscribe: see http://www.lazydba.com
By using this list you agree to these terms:http://www.lazydba.com/legal.html
Oracle LazyDBA home page