Data Collector Functions (Transact-SQL)

APPLIES TO: yesSQL Server noAzure SQL Database noAzure Synapse Analytics (SQL DW) noParallel Data Warehouse

The data collector uses several functions to obtain information about data collection and data collector statistics, or to obtain data.

The following table lists the functions that the data collector uses.

fn_syscollector_get_execution_details (Transact-SQL) fn_syscollector_get_execution_stats (Transact-SQL)
snapshots.fn_trace_getdata (Transact-SQL)

See Also

Data Collection
Data Collector Stored Procedures (Transact-SQL)
Data Collector Views (Transact-SQL)
Management Data Warehouse Stored Procedures (Transact-SQL)