[英]Exporting column records from .CSV to multiple table in SQL Server using SSIS
I have a requirement to create a batch solution using SSIS package. 我需要使用SSIS包创建批处理解决方案。
I am new to SSIS hence exploring this to implement my scenario. 我是SSIS的新手,因此将探索它来实现我的方案。
Scenario: 场景:
Task: The source .CSV file with set of columns belong to different tables in SQL Server. 任务:具有列集的源.CSV文件属于SQL Server中的不同表。 Those column and data in that row should be mapped to specific columns in different tables.
该行中的那些列和数据应映射到不同表中的特定列。
My thought to ask community - 我想问社区-
I appreciate any productive advise to implement the solution. 我感谢任何有成效的建议来实施该解决方案。
UPDATE: Below things so far I setup/tried 更新:到目前为止,我已经设置/尝试了以下内容
Multicast
and Import Columns
options. Multicast
和“ Import Columns
选项。 I understand that the Multicast
is mainly used to share or output data to different destinations. Multicast
主要用于共享数据或将数据输出到不同的目的地。 you can create four OLE DB destinations and using multicast you can route your data. 您可以创建四个OLE DB目标,并使用多播可以路由数据。 so basically multicast will pass all the 11 tables to all four destinations and there you can map only required column with your tables.
因此,基本上,多播会将所有11个表都传递到所有四个目的地,在那里您只能在表中映射所需的列。 Let me know if you have any confusion.
让我知道您是否有任何困惑。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.