简体   繁体   English

SQL Server BIDS OLE DB输入

[英]SQL Server BIDS OLE DB inputs

I have aa script component and an OLE DB destination. 我有一个脚本组件和一个OLE DB目标。 My script has 3 columns to return. 我的脚本有3列要返回。 How do I map each of these 3 columns to the OLE DB destination? 如何将这3列中的每列映射到OLE DB目标?

Whenever I drag a connector from the script component to the OLE DB, it makes me select exactly 1 output column. 每当我将连接器从脚本组件拖到OLE DB时,它都会使我选择恰好1个输出列。 When I try again with another output column, BIDS tells me that there are no available input columns to the OLE DB destination. 当我再次尝试另一个输出列时,BIDS会告诉我OLE DB目标没有可用的输入列。

Is it possible to have more than one input to an OLE DB destination? 是否可以有多个输入到OLE DB目标?

Thanks, 谢谢,

You need to create the output columns in Script transformation .In the input and Output tab expand Output0 and specify the columns which u want . 您需要在脚本转换中创建输出列。在输入和输出选项卡中,展开Output0并指定所需的列。

脚本

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

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