Export (0) Print
Expand All
ABS
ALL
AND
ANY
AVG
bit
COS
COT
DAY
EXP
GO
IN
LEN
LOG
MAX
MIN
NOT
OR
PI
SET
SIN
STR
SUM
TAN
USE
VAR
Expand Minimize

fn_trace_geteventinfo

SQL Server 2000

Returns information about the events traced.

Syntax

fn_trace_geteventinfo ( [ @traceid = ] trace_id )

Arguments

[ @traceid = ] trace_id

Is the ID of the trace. trace_id is int, with no default. The user employs this trace_id value to identify, modify, and control the trace.

Tables Returned
Column name Data type Description
EventID int ID of the traced event
ColumnID int ID numbers of all columns collected for each event

Remarks

fn_trace_geteventinfo is a Microsoft® SQL Server™ 2000 built-in function that performs many of the actions previously executed by extended stored procedures available in earlier versions of SQL Server. Use fn_trace_geteventinfo instead of:

  • xp_trace_geteventclassrequired

  • xp_trace_getqueuecreateinfo

  • xp_trace_getqueueproperties

To obtain information previously returned by the xp_trace_geteventclassrequired, for example, execute a query in the following form:

SELECT *
FROM ::fn_trace_geteventinfo(trace_id)
WHERE EventID= 'x'

See Also

sp_trace_generateevent

sp_trace_setevent

sp_trace_setfilter

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft