如何在 Integration Services 和 Visual Studio 2005 中获得两列之间的部分匹配
我试图在实际上包含相同数据但格式错误的两行之间进行匹配。
我想举个例子会更清楚:
单元格1=ISBED2D001
单元格2=ISBED
这两行实际上具有相同的含义,所以我必须匹配它们。但模糊查找组件似乎无法以这种方式工作,因为无论相似度阈值有多低,它都不会返回该行。
我想我可以使用脚本组件来完成这项工作,但我不懂任何 VB,而且据我所知,VS2005 这是我唯一的选择(或者我可以使用 C# 代码作为脚本组件?)。
I'm trying to get a match between two rows which actually contains same data but have bad formatting.
I guess an example would be more clear:
Cell1=ISBED2D001
Cell2=ISBED
These two rows actually have the same meaning so I have to match them. But Fuzzy Lookup component doesn't seem to work this way because no matter how low the similarity threshold is it doesn't return the row.
I guess I can use Script Component for this job but I don't know any VB and with VS2005 that is the only option I have, as far as I know (or can I use C# code as a script component?).
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
)使用脚本选项,您不能在 SSIS 2005 的脚本组件中直接使用 C#。但是您可以用 C# 编写解决方案并使用 C# 到 VB.NET 转换工具之一,例如 这个。
If you go with scripting option, you can not use C# directly in script component in SSIS 2005. But you can write your solution in C# and use one of the C# to VB.NET conversion tools, such as this.