Export (0) Print
Expand All

Data Collector Stored Procedures (Transact-SQL)

 

Applies To: SQL Server 2014, SQL Server 2016 Preview

SQL Server 2016 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_importantImportant

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_item

sp_syscollector_set_cache_window

sp_syscollector_create_collection_set

sp_syscollector_set_warehouse_database_name

sp_syscollector_create_collector_type

sp_syscollector_set_warehouse_instance_name

sp_syscollector_delete_collection_item

sp_syscollector_start_collection_set

sp_syscollector_delete_collection_set

sp_syscollector_stop_collection_set

sp_syscollector_delete_collector_type

sp_syscollector_run_collection_set

sp_syscollector_delete_execution_log_tree

sp_syscollector_update_collection_item

sp_syscollector_disable_collector

sp_syscollector_update_collection_set

sp_syscollector_enable_collector

sp_syscollector_update_collector_type

sp_syscollector_set_cache_directory

sp_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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2015 Microsoft