Home Forums Article Discussions Article Discussions by Author Discuss content posted by Ken Simmons Return Query Text Along With sp_who2 Using Dynamic Management Views RE: Return Query Text Along With sp_who2 Using Dynamic Management Views
Shon Thompson
SSC-Addicted
Points: 474
More actions
December 31, 2008 at 12:21 pm
#919789
This query does not return the last sql statement issues like inputbuffer does. It only gives the sql for statements currently running. Also, for stored procedures, it does not return the exec statement. It returns the create procedure statement.