Skip to content

SS built in purge solutions

Syspolicy_purge_history

a built-in SQL Server Agent Job which is configured to run once a day at 2 AM.
When executed it will remove records from the above tables, except for the retention period records.