Hello,
I would like to get a return value from the following query script.
eg:
declare @Table varchar(30)
declare @output int
set @Table = 'UserList'
set @output = execute('Select count(*) from ' + @Table)
I want to reuse that output in another query. but I have a problem.
Thanks a lot!