Hello,
I read in the FAQ that you can't use Stored Procedures in Select queries so maybe there is another obvious way to solve my problem.
I'd like to call the SP_WHO stored procedure in my stored procedure only return certain columns and certain rows. IE: I'd like to return only that status and dbname for those rows who have spid of 51 or greater.
How can I do this?
Thanks,
Andy
I read in the FAQ that you can't use Stored Procedures in Select queries so maybe there is another obvious way to solve my problem.
I'd like to call the SP_WHO stored procedure in my stored procedure only return certain columns and certain rows. IE: I'd like to return only that status and dbname for those rows who have spid of 51 or greater.
How can I do this?
Thanks,
Andy