阿宽

Nothing is more powerful than habit!
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

SQLClR的开启

Posted on 2011-02-22 12:20  宽田  阅读(535)  评论(0编辑  收藏  举报

 

在SQL Server 2005及以后的版本支持SQLClR。SQLClR主要是为了减少大的SQL语句在网络中花费的时间。

 

在SQL Server中,SQL CLR默认是禁用的。启用方法如下(1为开启,0为禁用。):
exec sp_configure 'clr enabled',1
reconfigure with override
go

 

获取SQLCLR的状态

exec sp_configure 'clr enabled'

 

获取SQLCLR的属性
select * from sys.dm_clr_properties

 

 

-----------------------------------------------------------------------

系列文章目录