There are two method to call .net DLL in SQLSERVER. The first one is to use the sql clr but it has a lot of limit. The second method is to use SSIS package to call the .net dll. Now I will show the process and the problem you may come accross with it
https://msdn.microsoft.com/zh-cn/library/ms345106(es-es).aspx 1.新建项目名称SQLDllTest,类代码如下,没有用Using引用其他类: (框架必须改为.NET3.5及3.5以下,因为SQL Server 2008只是支持.NET 3.5及一下,.NET 4.0是2010年发布的,不支持也很正常) namespace SQLDllTest { public class Class1 { public static string G