I'm trying to retrieve 2 column data using a simple select query in stored procedure. I'm getting output when running in sql server management studio. But executing same query in mulesoft Anypoint studio, I'm getting error
Procedure or function sample1 has too many arguments specified.
Here is the stored procedure created:
ALTER PROCEDURE [dbo].[sample1] @hidden INT
AS
SELECT geo_name,id_definition
FROM geo
WHERE flag_hidden = @hidden
GO
and here is mule flow implementation screenshots:
Here is the error screenshot:
geo_name
andid_definition
. They're not output parameters, they're not parameters, they're the result set. – TZHXselect first_name, last_name from table1
in your stored procedure? – Ann L.m getting output when executing stored procedure directly in sql server, but on executing mule., it is not accepting the parameters I passed. Its only accepting select * . I
m not sure the technical reason behind this. – sabarinath