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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PB 7.0 and Oracle Stored Procedure

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hello,
I have stored procedure like this with 2 input and 1 output parameters,
process_employee(
empid in varchar2,
aid in varchar2,
err out varchar) as
....

and in PB I am declaring the procedure lik this,

DECLARE pe PROCEDURE FOR process_employee:)empid,:aid);

execute pe;

This is giving me an error Wrong numer or type arguments

But the same thing work well in PB version 6.5.
I am using Oracle ODBC Driver Version 8.1.7

Please help.....

Thanks
 
rhymond,

Do you have empid and aid declared as varchar in your pb code ? Because if you have them declared as long or integer you will get the message you typed due to mismatched datatypes. I would check and make sure you have the same datatypes in both pb and your stored procedure.

Dan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top