DECLARE @handle VARBINARY(64)
SELECT @handle = sql_handle from sys.sysprocesses where spid = 55
SELECT text FROM sys.dm_exec_sql_text(@handle)
Wednesday, August 12, 2009
Subscribe to:
Posts (Atom)
All software and software code is released under the BSD license (http://www.opensource.org/licenses/bsd-license.php), unless otherwise specified or if the code is part of a project governed by another license. All trademarks are owned by their respective companies and/or individuals.