gpt4 book ai didi

sql-server - 在 SQL Server 2008-r2 上启用 CLR 集成

转载 作者:行者123 更新时间:2023-12-02 11:03:16 24 4
gpt4 key购买 nike

在寻找启用 CLR 集成时我找到了此文档:http://msdn.microsoft.com/en-us/library/ms131048.aspx也就是说使用以下代码将“crl启用”变量设置为1。

sp_configure 'show advanced options', 1;
GO
RECONFIGURE;
GO
sp_configure 'clr enabled', 1;
GO
RECONFIGURE;
GO

我想知道是否需要重新启动 SQL Server?或者,更一般地说,要启用 CRL 集成需要遵循哪些步骤?

最佳答案

如果您使用with override选项,则不需要重新启动。

EXEC sp_CONFIGURE 'show advanced options' , '1';
GO
RECONFIGURE WITH OVERRIDE
GO

EXEC sp_CONFIGURE 'clr enabled' , '1'
GO
RECONFIGURE WITH OVERRIDE
GO

关于sql-server - 在 SQL Server 2008-r2 上启用 CLR 集成,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13307065/

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