简体   繁体   English

Microsoft SQL Server集成服务中的C#包可能吗?

[英]C# Pacakge inside Microsoft SQL Server Integration Services possible?

i have to process more than 1.000.000 records through several tables. 我必须通过多个表处理超过1.000.000条记录。 I ned to loop through the records, combine and lookup for data from other tables. 我要遍历记录,合并并从其他表中查找数据。 I have a quite complicated logic and i could do it with a C# console app. 我有一个非常复杂的逻辑,我可以使用C#控制台应用程序来完成。

But to have it stable and without any layers between database and app i would like to do this directly inside the database. 但是要使其稳定并且在数据库和应用程序之间没有任何层次,我想直接在数据库中执行此操作。

Is it possible to execute C# Code/Module/Package in Microsoft SQL Server or Microsoft SQL Server Integration Services? 是否可以在Microsoft SQL Server或Microsoft SQL Server集成服务中执行C#代码/模块/包?

Update: As in the comments below mentioned the thing is called Script Task in SSIS! 更新:正如下面的评论中提到的那样,该事件在SSIS中称为脚本任务

Thanks to billinkc ! 感谢billinkc The thing for what i was looking for is calles Script Task in SSIS! 我正在寻找的东西是SSIS中的脚本任务 You can add a Script Task to your Package and do whatever you want and can do in C#! 您可以将脚本任务添加到程序包中,然后执行您想在C#中执行的所有操作!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM