Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error when using oracle stored procedure.

Status
Not open for further replies.

viji123

Programmer
Feb 1, 2002
8
US
I am trying to create a report using an oracle stored procedure as the data source. I have created the stored procedure and checked its result in sql plus.
when I choose the stored procedure in the data explorer dialog box and click Add, CR prompts to enter the parameter value. The procedure is based on center_id. when I enter the parameter value as say '00509' (which is the id of one of the centers) I get the following error :
ODBC error : [Microsoft][ODBC driver for Oracle]Cannot bind PL/SQL Records or Cursor References.
What am I doing wrong. I would really appreciate if someone could help me.
Thanks..viji.
 
Hi,
Thanks. I have a ref cursor as my first parameter, still its not working. When I use the stored procedure in CR , to create a new report, I am prompted to enter parameter value. when I enter the value, I get the following error :
Cannot bind pl/sql records or cursor references. Anyone with any suggestion to get this to work will be greatly appreciated.
Thanks..Viji.
 
I know this post is more than a few months old, but if anyone knows the answer or if the person who posted this figured it out, can you let mw know the fix.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top