electric_Insura
13 years agoContributor
Stored procedure with multiple columns in results
I am using a JDBC request step to call a stored procedure that takes 4 arguments.
The result set contains two columns when the stored procedure is run in SQL Server. The data in these columns is not the same as the arguments to the stored procedure.
Example:
should return a two digit code and the name of a fire department.
When I run the stored procedure, I get one digit as my result. It is labeled "UpdateCount" in the response view.
I have another stored procedure that returns one column per execution. The JDBC request step works correctly in that case.
So my result set is not getting returned for the first stored procedure. Can I configure the JDBC request step to do this correctly?
The result set contains two columns when the stored procedure is run in SQL Server. The data in these columns is not the same as the arguments to the stored procedure.
Example:
StoredProcedure ('StreetAddress', 'Zip', 'DistancetoFireStation', 'DistancetoFireHydrant')
should return a two digit code and the name of a fire department.
When I run the stored procedure, I get one digit as my result. It is labeled "UpdateCount" in the response view.
I have another stored procedure that returns one column per execution. The JDBC request step works correctly in that case.
So my result set is not getting returned for the first stored procedure. Can I configure the JDBC request step to do this correctly?