简体   繁体   English

如何在SQL Server中创建维护计划?

[英]How to create maintenance plan in SQL Server?

When I'm trying to create a new maintenance plan in SQL Server, it is showing this error: 当我尝试在SQL Server中创建新的维护计划时,它显示以下错误:

TITLE: Microsoft SQL Server Management Studio
------------------------------

'Agent XPs' component is turned off as part of the security configuration for 
this server. A system administrator can enable the use of 'Agent XPs' by using   sp_configure. 
For more information about enabling 'Agent XPs', see "Surface Area   Configuration" in 
SQL Server Books Online. (ObjectExplorer)  

You need to enable the SQL Server Agent extended stored procedures first by running the following. 您需要首先运行以下命令来启用SQL Server代理扩展存储过程。

sp_configure 'show advanced options', 1;
GO
RECONFIGURE;
GO
sp_configure 'Agent XPs', 1;
GO
RECONFIGURE
GO

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM