Summary
The following are the key points to keep in mind when you want to automate database administration tasks.
SQL Server Agent must be running so that alerts and jobs can be processed.
Use the Job Scheduler to automate common DBA jobs such as backing up a database, backing up a transaction log, running DBCC commands, and importing/exporting data.
Jobs can contain one or more steps and can have step dependencies.
Jobs can contain Transact-SQL commands, VBScript, JScript, and scripts built in other languages.
Jobs can execute external .BAT, .EXE, and .CMD files.
Use the Alert Manager to automatically notify an operator of problems, such as a database errors or user-defined error messages.
The Job Scheduler, Alert Manager, and Database Maintenance ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access