在SQL Server中开启CLR

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 

原文地址:https://www.cnblogs.com/muse/p/1892539.html