SQL Server Day to day maintenance(sqlserveradvisor.blogspot.com)
submitted by
sqlserveradvisor(385) 3 years, 3 months ago
Here’s a little SQL Server T-SQL script I wrote that will executes some day-to-day maintenance
It’ calls some sp’s in MSDB to remove old (as specified by the parameter in the dateadd() function) mail, job and backup history info that will normally accumulate in msdb making it grow bigger over time.
Also a DBCC CHECKDB statement
|category: Database
|Views: 8
tags:
Database another
Everyones tags:
Your Tags: