Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 292
  • Last Modified:

Calling an Oracle stored procedure from C

I need help in calling an oracle stored procedure from C
0
AnjuThomas
Asked:
AnjuThomas
1 Solution
 
magashiCommented:
You can use the oracle vendor specific library OCI if you program in C, anyway I may recommend you to take a look on OTL a third party library, it encapsulates OCI functions in C++ for easy use.
If you already use these libraries:
you got just to prepare your statement as any other one, and the call method is the same as under sqlplus.

stmt="BEGIN your_proc(parameters) ; END;"
If u are used to program with the libraries above the steps following execution are the same.
Hope that helps you
good luck,
magesh
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now