在查询分析其中执行如下代码:
exec sp_configure 'show advanced options', '1';
go
reconfigure;
go
exec sp_configure 'clr enabled', '1'
go
reconfigure;
exec sp_configure 'show advanced options', '1';
go

 

如果出现 不支持对系统目录进行即席更新

则需要进行如果设置

p_configure 'allow updates', 0;  --设置为0

GO
RECONFIGURE WITH OVERRIDE;
GO     

然后再执行上面的代码

或者用下面的方法

exec sp_configure 'show advanced options', '1';
go
reconfigure WITH OVERRIDE;  --加上override
go
exec sp_configure 'clr enabled', '1'
go
reconfigure WITH OVERRIDE;  -- 加上override
exec sp_configure 'show advanced options', '1';
go

相关文章:

  • 2021-07-27
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-30
猜你喜欢
  • 2021-11-06
  • 2021-06-22
  • 2022-01-31
相关资源
相似解决方案