Wrong number or types of arguments in call to PROCEDURE
Posted: Mon 11 Apr 2011 12:08
Hi,
In our project we must to deal with Oracle and SQL Server models. For a concrete query we need to create a Function or Stored Procedure in order to get a list of values according to several specified parameters.
In our Oralce database we return an Output parameter to get a select result, but this parameter is it not required in SQL Server, so the number of parameters differ in both models.
How could we solve this problem? Is it possible to get the same number of parameters in both databases?
Any advice in this regard will be welcome.
Thanks in advance,
Dominik.
In our project we must to deal with Oracle and SQL Server models. For a concrete query we need to create a Function or Stored Procedure in order to get a list of values according to several specified parameters.
In our Oralce database we return an Output parameter to get a select result, but this parameter is it not required in SQL Server, so the number of parameters differ in both models.
How could we solve this problem? Is it possible to get the same number of parameters in both databases?
Any advice in this regard will be welcome.
Thanks in advance,
Dominik.