Database Maintenance Plan stored procedures (Transact-SQL)
Applies to: SQL Server
SQL Server supports the following system stored procedures that are used to set up maintenance tasks. These stored procedures are used with database maintenance plans. This feature has been replaced with maintenance plans which do not use these stored procedures. Use these procedures to maintain database maintenance plans on installations that were upgraded from a previous version of SQL Server.
This feature will be removed in a future version of SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.
- sp_add_maintenance_plan
- sp_add_maintenance_plan_db
- sp_add_maintenance_plan_job
- sp_delete_maintenance_plan
- sp_delete_maintenance_plan_db
- sp_delete_maintenance_plan_job
- sp_help_maintenance_plan
- sp_delete_maintenance_plan
Related content
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för