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
Jerry Hung
SSChampion
Points: 12968
More actions
June 26, 2008 at 7:18 am
#834624
I copied the code from the article verbatim
ran fine in my SQL 2005 boxes (build 3042 and 2047)
I am guessing it won't run in SQL 2000
Dan: your code has a WINK in it, ha ha... when it should be the closing bracket for the TABLE declaration