Is “CLR Integration” enabled at a database level or the server/instance level?

匆匆过客 提交于 2019-12-24 03:33:44

问题


I am trying to understand whether enabling CLR enables it at a database-level or server-level / instance-level. The Online books are not clear at all, what happens if I enable CLR using this command, would it be enabled across all of the servers??

sp_configure 'clr enabled', 1
GO
RECONFIGURE
GO

回答1:


CLR Integration is enabled at the server level (by the sp_configure 'clr enabled', 1 code you posted).

Assemblies are loaded at the database level. CLR Stored Procedures and Functions are created from methods in those loaded assemblies at a database level.



来源:https://stackoverflow.com/questions/30871314/is-clr-integration-enabled-at-a-database-level-or-the-server-instance-level

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!