Comment
Above in this comment thread:
Scripting Database Maintenance Plans » Additional Maintenance Plan Info
Figuring out what the wizards are doing.
Posted by
johnpaulcook
at
2005-12-29 11:28 AM
You are of course correct in not wanting to update sysdbmaintplans directly. Usually the wizards invoke stored procedures to ensure that changes to system tables are done properly. The general approach to figuring out what a wizard actually does is to start SQL Profiler before running the wizard. Everything that the wizard does is captured by SQL Profiler. I used this approach when writing the article.