PLS-00306: wrong number or types of arguments in call to existing stored procedure?

Firstly, a function is not a procedure - but that isn't the problem. Since you're using the correct number of parameters, the only thing that it could be is that the implementation of the custom types you're using don't match between Oracle and C. How are they defined in PL/SQL?

Thanks for your comments/answers guys. Appreciate it. I have edited the code snippet to show how exactly the stored procedure is invoked.

I use OCI calls to prepare and execute the PL SQL stored procedure. Please let me know if the definitions for the 'bind' calls are needed. I dint add them right away because that piece of code is quite huge.

– lavanya Feb 1 '10 at 5:41.

I'm using an existing stored procedure in my C code. The stored procedure in question has been compiled and is proven to work without any errors. However, when I use the same in my C code, its failing with the above error.

OCIStmtExecute() fails with the above error. Please let me know if you need to know how the 'bind' calls look like. I dint paste them right away because the code chunk is pretty big.

Can someone please help?

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions