Sqlserver中使用DLL定义的函数

参考:

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的脚本即可

posted @ 2022-01-19 18:41  龍☆  阅读(92)  评论(0编辑  收藏  举报