开发者

SSIS adding new columns to the Source

I am new to SSIS. I have a problem. i get data from two different data sources. I am able to merge them using Merge Component and feed the output to a Script component where i validate data and move it to the destination. Every thing is working fine. I want it to work when we add some extra columns in any sources.

The problem is when i add extra columns in source, i should add the input columns in the sc开发者_开发百科ript component(check the ckeck boxes in Input Columns). Is there any way to do this?

Plz help


Try adding the new column to the source, open the package and then follow the flow through. You will have to go into subsequent controls including the merge control to refresh the data with this new field.

SSIS will prompt you with the exclamation mark at each stage where a refresh is mandatory(such as source control), although you will have to manually step through the flow components (such as merge) where a column output is optional.

For example, I added cost as a new column to the basic ole db source below

SSIS adding new columns to the Source

and after updating the source control, I have the opportunity to add it to the script component as you mention - but it is not mandatory for me to do so

SSIS adding new columns to the Source

the new field should be available in the sort component, even if its not used within the script control. You will however need to tick the field as a pass through on the sort control to get it into the merge component

SSIS adding new columns to the Source

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜