Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
This function returns all the events captured for the specified trace.
Transact-SQL Syntax Conventions
Składnia
snapshots.fn_trace_gettable ( trace_info_id, start_time, end_time )
Arguments
trace_info_id
The unique identifier for the primary key in the snapshots.trace_info table in the management data warehouse database. trace_info_id is int.start_time
The time that the trace started. start_time is datetime.end_time
The time that the trace ended. end_time is datetime.
Table Returned
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:
|
Permissions
Requires SELECT permission for mdw_reader.