Solved

Calling an Oracle stored procedure from C

Posted on 2003-12-04
3
285 Views
Last Modified: 2010-04-15
I need help in calling an oracle stored procedure from C
0
Comment
Question by:AnjuThomas
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 

Accepted Solution

by:
magashi earned 25 total points
ID: 9919536
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!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preface I don't like visual development tools that are supposed to write a program for me. Even if it is Xcode and I can use Interface Builder. Yes, it is a perfect tool and has helped me a lot, mainly, in the beginning, when my programs were small…
Windows programmers of the C/C++ variety, how many of you realise that since Window 9x Microsoft has been lying to you about what constitutes Unicode (http://en.wikipedia.org/wiki/Unicode)? They will have you believe that Unicode requires you to use…
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use nested-loops in the C programming language.
The goal of this video is to provide viewers with basic examples to understand how to create, access, and change arrays in the C programming language.

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question