码迷,mamicode.com
首页 > 数据库 > 详细

SQL Server(SSIS package) call .net DLL

时间:2014-09-18 14:44:13      阅读:246      评论:0      收藏:0      [点我收藏+]

标签:blog   http   io   os   ar   strong   for   2014   sp   

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.

  1.Create a Integration Services Project in your visual studio. If you can‘t find the Integration Services Project  Option you may need to install SSDT and SSDT-BI for visual studio. Then you can  use the Script Task or Script Component in the project. And you can call dll with it.

    bubuko.com,布布扣

 

    bubuko.com,布布扣

  2. You can click Edit Script to reference  dll in the pop-up visual studio project. Then you can use the dll‘s method like the general visual studio.

    bubuko.com,布布扣

  3. Then you can save your Script Task and run it.

    

 

SQL Server(SSIS package) call .net DLL

标签:blog   http   io   os   ar   strong   for   2014   sp   

原文地址:http://www.cnblogs.com/qiwubg/p/3976534.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!