Skip to content Skip to sidebar Skip to footer

Stored Procedure Not Fetching Data Even-though The Sqlsrv_query Has No Errors

I have a stored procedure with 2 parameters. I'm able to execute stored procedures with one parameter using the same script below. But I couldn't make it work with two parameters.

Solution 1:

You can try

"execute VM_GETPRs_CAMPS ?,?"

Also if you have any PRINT statement on your stored procedure may cause some trouble

Post a Comment for "Stored Procedure Not Fetching Data Even-though The Sqlsrv_query Has No Errors"