SSIS 脚本组件从列名称中删除下划线
SSIS 脚本组件从列名中去除下划线。
示例:
脚本组件中的 ColumnName : Customer_ID 看起来像
public override void SourceIn_ProcessInputRow(SourceInBuffer Row)
{
Row.CustomerID
}
如何获取带下划线的列名称,因为我必须将列名称传递给其他 .dll,该 .dll 会进行错误记录并需要正确的列名称。
SSIS Script component strip's under scores from columnnames.
Example : ColumnName : Customer_ID
in Script components it looks as
public override void SourceIn_ProcessInputRow(SourceInBuffer Row)
{
Row.CustomerID
}
How can i get Column Name with underscore, as I have to pass column name to other .dll which does error logging and needs correct column name.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
今天早上我遇到了同样的问题,我真的不需要下划线,所以在有点抱怨后接受了它。也许在执行脚本任务之后,您可以将派生列转换或复制列转换放入数据流中,并将名称设置为您需要的名称。
I came across the same problem this morning, I didn't really need the underscores so accepted it after a little complaining. Perhaps after your script task you could drop in a Derived Column transform or Copy Column transform into the dataflow and set the name to exactly what you need.