gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-12-02 07:34:34 25 4
gpt4 key购买 nike

当我尝试在 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)

最佳答案

您需要首先通过运行以下命令来启用 SQL Server 代理扩展存储过程。

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

关于sql-server - 如何在SQL Server中创建维护计划?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3184286/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com