I am trying to create a data mapper using a stored procedure in SQL Server. I get the error “An error occurred while executing the custom SQL query”.
My stored procedure first updates the records in a table depending on the parameters passed, and then returns the updated result set with a Select query in the end.
It works when I comment out the part that updates the table.
Could someone help.
Thanks,
Sanjeev