SQL Flow Field Guide

sp_syscollector_set_cache_window

Check SQL Server version support in the source

Sets the number of times to attempt a data upload if a failure occurs.

What changes

Input
Not stated in the Microsoft summary.
Output or change
Sets the number of times to attempt a data upload if a failure occurs.

Syntax at a glance

dbo.sp_syscollector_set_cache_window [ [ @cache_window = ] cache_window ]
[ ; ]

Work example

Sets the number of times to attempt a data upload if a failure occurs.

Write a proposed call on paper. Name the target, required permission, expected change, and recovery step before any lab use.

Check your work What can this procedure change or start, and what permission does it need?

Open Microsoft Learn for full syntax, permissions, and details for your version.