how to use SQL Server built-in functions to view a saved trace file.
For the purpose of troubleshooting.
Execute fn_trace_getinfo by specifying the ID of the trace about which information is needed. This function returns a table that lists the trace, trace property, and information about the property.
Invoke the function this way:
SELECT *
FROM ::fn_trace_getinfo(trace_id)Execute fn_trace_getinfo by specifying 0 or default. This function returns a table that lists all the traces, their properties, and information about these properties.
Invoke the function as follows:
SELECT *
FROM ::fn_trace_getinfo(default)
Security To run the built-in function fn_trace_getinfo, the user needs the following permission:
ALTER TRACE on the server.
For additional details see: http://technet.microsoft.com/en-us/library/ms179455.aspx