This repository contains various T-SQL stored procedures guidelines that can be used for database management tasks.
- Index Maintenance Guideline
- Databases Backup Guideline
- Statistics Update Maintenance Guideline
- Shrink All Databases Log Files Guideline
- Database Integrity Check Guideline
- Send Job Failure Report E-Mail Guideline
- Blocking Check And Send E-Mail Guideline
- Analyzing Tables For Archiving Guideline
This stored procedure performs maintenance on indexes in specified or all databases. It checks index fragmentation and reorganizes or rebuilds indexes as needed. For details click here.
This stored procedure backs up specified or all databases. It offers options for full, differential, and transaction log backups. For details click here.
This stored procedure performs maintenance on statistics in specified or all databases. For details click here.
This stored procedure aims to shrink all database log files. For details click here.
This stored procedure checks the integrity of a specified database. If not specified, it checks the integrity of all databases. For details click here.
This stored procedure sending e-mail for failured job. For details click here.
This stored procedure sending e-mail for blocking session. For details click here.
This stored procedure analyzing tables for archiving in specified or all databases. For details click here.