snapshots.fn_trace_gettable (Transact-SQL)
SQL Server 2008
This function returns all the events captured for the specified trace.
Column name | Data type | Description |
|---|---|---|
<All trace columns> | <Varies> | The trace data from the snapshots.trace_data table in the management data warehouse database. A list of the columns for the specified trace can be obtained by using the following query: SELECT * FROM sys.trace_columns NoteThe columns that are returned by the snapshots.fn_trace_gettable function correspond to the values in the name column in the sys.trace_columns system view. The only difference is that the GroupID column is not returned by the function. |

