I have a stored procedure that takes in two parameters. I can execute it successfully in Server Management Studio. It shows me the results which are as I expect. However it
You can use an out parameter instead of the return value if you want both a result set and a return value
CREATE PROCEDURE proc_name @param int out AS BEGIN SET @param = value SELECT ... FROM [Table] WHERE Condition END GO