TechNet
Export (0) Print
Expand All

Data Collector Stored Procedures (Transact-SQL)

 

THIS TOPIC APPLIES TO:yesSQL Server (starting with 2008)noAzure SQL DatabasenoAzure SQL Data Warehouse noParallel Data Warehouse

SQL Server supports the following system stored procedures that are used to work with the data collector and the following components: collection sets, collection items, and collection types.

System_CAPS_ICON_important.jpg Important


Unlike regular stored procedures, the parameters for data collector stored procedures are strictly typed and do not support automatic data type conversion. If these parameters are not called with the correct input parameter data types, as specified in the argument description, the stored procedure returns an error.

sp_syscollector_create_collection_itemsp_syscollector_set_cache_window
sp_syscollector_create_collection_setsp_syscollector_set_warehouse_database_name
sp_syscollector_create_collector_typesp_syscollector_set_warehouse_instance_name
sp_syscollector_delete_collection_itemsp_syscollector_start_collection_set
sp_syscollector_delete_collection_setsp_syscollector_stop_collection_set
sp_syscollector_delete_collector_typesp_syscollector_run_collection_set
sp_syscollector_delete_execution_log_treesp_syscollector_update_collection_item
sp_syscollector_disable_collectorsp_syscollector_update_collection_set
sp_syscollector_enable_collectorsp_syscollector_update_collector_type
sp_syscollector_set_cache_directorysp_syscollector_upload_collection_set

The following stored procedures are for internal use only:

  • sp_syscollector_get_warehouse_connection_string

  • sp_syscollector_set_warehouse_connection_password

  • sp_syscollector_set_warehouse_connection_user

  • sp_syscollector_event_oncollectionbegin

  • sp_syscollector_event_oncollectionend

  • sp_syscollector_event_onpackagebegin

  • sp_syscollector_event_onpackageend

  • sp_syscollector_event_onpackageupdate

  • sp_syscollector_event_onerror

  • sp_syscollector_event_onstatsupdate

System Stored Procedures (Transact-SQL)

Community Additions

ADD
Show:
© 2016 Microsoft