SSIS Script Component stripping underscores from column names

和自甴很熟 提交于 2019-12-11 06:05:33

问题


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.


回答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.



来源:https://stackoverflow.com/questions/6352940/ssis-script-component-stripping-underscores-from-column-names

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!