DBCC INPUTBUFFER returns a rowset with the following columns.
|
Column name
|
Data type
|
Description
|
|---|
|
EventType
|
nvarchar(30)
|
Event type. This could be RPC Event or Language Event. The output will be No Event when no last event was detected.
|
|
Parameters
|
int
|
0 = Text
1- n = Parameters
|
|
EventInfo
|
nvarchar(4000)
|
For an EventType of RPC, EventInfo contains only the procedure name. For an EventType of Language, only the first 4000 characters of the event are displayed.
|
For example, DBCC INPUTBUFFER returns the following result set when the last event in the buffer is DBCC INPUTBUFFER(11).
EventType Parameters EventInfo
-------------- ---------- ---------------------
Language Event 0 DBCC INPUTBUFFER (11)
(1 row(s) affected)
DBCC execution completed. If DBCC printed error messages, contact your system administrator.