Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 10671

Re: How to call an Oracle Stored Procedure from an SQL Command

$
0
0

Hi everyone,

Hi Florian,

 

First of all I apologize to renew a discussion of 2010, but in fact I found no solution in other threads because it is a very specific problem that exactly matches mine.

 

So, I refer to your dicussion with a great interest because I have exactly the same problem to call an Oracle Stored Procedure from an SQL Command with a ref cursor.

 

I hope that since 2010 you could solve this problem and if so I would really like your solution because I am in a difficult situation.

 

I also use Crystal Reports to call an Oracle Stored Procedure from an SQL Command. The basic query I have in the expert data base of CR is the following :

 

BEGIN IND_C9_MED_ALLIANZ(:AREFCURSOR, NULL, NULL); END ;

 

I therefore two parameters that are not recognized, and that's why I wanted to add a new sql query with two parameters on the following in the command :

 

BEGIN IND_C9_MED_ALLIANZ(:AREFCURSOR, '{?PROCPARAM_0}', '{?PROCPARAM_1}'); END ;

 

But I have an error with the cursor as it is not accepted in the query. The error is "ORA-01008 : not all variables bound".

 

How did you do to solve this problem? Or somebody have up an alternative?

 

I thank you in advance for your answer, hoping you can help me.

 

Best regards.

 

Victor Dias

United Arab Emirates


Viewing all articles
Browse latest Browse all 10671

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>