Data collector stored procedures (Transact-SQL)
Applies to:
SQL Server
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.
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_item
sp_syscollector_create_collection_set
sp_syscollector_create_collector_type
sp_syscollector_delete_collection_item
sp_syscollector_delete_collection_set
sp_syscollector_delete_collector_type
sp_syscollector_delete_execution_log_tree
sp_syscollector_disable_collector
sp_syscollector_set_cache_window
sp_syscollector_set_warehouse_database_name
sp_syscollector_set_warehouse_instance_name
sp_syscollector_start_collection_set
sp_syscollector_stop_collection_set
sp_syscollector_run_collection_set
sp_syscollector_update_collection_item
sp_syscollector_update_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
Related content
Phản hồi
https://aka.ms/ContentUserFeedback.
Sắp ra mắt: Trong năm 2024, chúng tôi sẽ dần gỡ bỏ Sự cố với GitHub dưới dạng cơ chế phản hồi cho nội dung và thay thế bằng hệ thống phản hồi mới. Để biết thêm thông tin, hãy xem:Gửi và xem ý kiến phản hồi dành cho