|
Posted by Erland Sommarskog on 05/10/07 22:21
tomas.zalesak (tomas.zalesak@gmail.com) writes:
> CREATE TABLE #Inputbuffer(
> EventType NVARCHAR(30) NULL,
> Parameters INT NULL,
> EventInfo NVARCHAR(255) NULL
> )
> GO
>
> INSERT #Inputbuffer
> EXEC('DBCC INPUTBUFFER(<YourSpid>)')
> GO
>
> SELECT * FROM #Inputbuffer
Adding WITH NO_INFOMSGS to the DBCC command makes it less noisy.
--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se
Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
Navigation:
[Reply to this message]
|