.NET/MS-SQL

SQL Server Stored Procedure capture return value in T-SQL

네코냥이 2013. 12. 30. 14:56

I have a sql server stored procedure. I need to capture the return value from what the stored procedure returns

Is this the correct way of doing it

    declare valback varchar(30)

    set valback = exec storeproc1 

In this case, storeproc1 is my stored procedure.



SQL Server Stored Procedure capture return value in T-SQL - Stack Overflow.pdf


저작자표시 (새창열림)