Jus*_*ner 4 sql t-sql sql-server stored-procedures
假设我有一个这样的存储过程:
begin try drop procedure test_print end try begin catch end catch;
go
create procedure test_print
as
begin
print 'Hello'
print 'World';
end
go
exec test_print
Run Code Online (Sandbox Code Playgroud)
如何捕获存储过程test_print中的打印消息并将其保存到变量中?
谢谢.
| 归档时间: |
|
| 查看次数: |
10873 次 |
| 最近记录: |