参考:
https://blog.csdn.net/y13156556538/article/details/62223855
https://www.cnblogs.com/xiaozhi1236/p/5730468.html
引入前先执行:
EXEC sp_configure 'clr enabled' , 1; --0代表不允许,1代表运行 RECONFIGURE; EXEC sp_configure 'clr strict security', 0; RECONFIGURE;
然后执行引入DLL的脚本即可