|
[x]
Posted via EE Mobile
|
|
| Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again. |
|
|
|
|
Asked by quiTech in FTP Servers, SQL Query Syntax, SQL Server 2005
I'm executing a stored procedure with a t-sql query and would like to capture the 'print' output produced by the called procedure to a variable. Is this possible? If so, how?
Example:
create procedure calledproc as
begin
print 'this is what we want to capture'
end
go
exec calledproc; -- here is where I would like to capture the print output of the called procedure to a variable.
Thanks in advance!
20091118-EE-VQP-93 - Hierarchy / EE_QW_3_20080625