禁止在 .NET Framework 中执行用户代码。启用 \"clr enabled\ SQL开启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/mxh691/p/3077568.html