posted by 네코냥이 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


'.NET > MS-SQL' 카테고리의 다른 글

SET ARITHABORT(Transact-SQL)  (0) 2014.01.02
SQL Server - Return value after INSERT  (0) 2013.12.30
인덱스 유형  (0) 2013.12.26
[MS-SQL] 인덱스 옵션  (0) 2013.09.01
[MS-SQL] 트리거 기초  (2) 2013.08.27