Hi All,
I'm trying to automate the "Maintenance plan". I was able to do it through GUI by logging into SQL studio.
But, I'm supposed to automate by embedding the SQL command into jython.
Would be greatfull if somebody can provide me complete steps for maintenance plan.
Below is the Maintenance plan I'm expecting for:
DBE Full Backup1. Schedule the job to run every night at 5 AM.
2. Configure the tasks in the following order: Back Up Database (Full),
Maintenance Cleanup Task (3 days) and Clean Up History (older than 4
weeks).
DBE Integrity Checks
1. Schedule the job to run every Saturday night at 6 AM.
2. Configure the tasks in the following order: Check Database Integrity and
Update Statistics.
DBE Optimization
1. Schedule the job to run every Saturday night at 10 PM.
2. Configure the tasks in the following order: Rebuild Index.