﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Integration Services / Data Warehousing  / Importing one file into two database tables / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Tue, 18 Jun 2013 22:24:24 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Importing one file into two database tables</title><link>http://www.sqlservercentral.com/Forums/Topic1404835-364-1.aspx</link><description>One possible reason why there are no rows going into the second table is that you have the multicast in the wrong place.  The multicast needs to happen [b]before[/b] the write to the first table.  You can think of it as creating an identical copy of every row that comes into the multicast.  Then the two results of the multicast go to the first and the second table (one each).Another possible reason why there are no rows being inserted into the second table is that there is something wrong with the insert (permissions or missing fields or incorrect fields or the like).  However, you should see errors if that were the case.</description><pubDate>Fri, 11 Jan 2013 12:25:26 GMT</pubDate><dc:creator>Bruce W Cassidy</dc:creator></item><item><title>RE: Importing one file into two database tables</title><link>http://www.sqlservercentral.com/Forums/Topic1404835-364-1.aspx</link><description>Files?You mentioned only one in your first post.</description><pubDate>Thu, 10 Jan 2013 04:24:12 GMT</pubDate><dc:creator>Phil Parkin</dc:creator></item><item><title>RE: Importing one file into two database tables</title><link>http://www.sqlservercentral.com/Forums/Topic1404835-364-1.aspx</link><description>The package has pushed files to the first table but has written 0 files to the second table.</description><pubDate>Thu, 10 Jan 2013 04:22:29 GMT</pubDate><dc:creator>dbman</dc:creator></item><item><title>RE: Importing one file into two database tables</title><link>http://www.sqlservercentral.com/Forums/Topic1404835-364-1.aspx</link><description>[quote][b]ziako (1/10/2013)[/b][hr]Hi I tried both methods but 0 rows were written to the OLE DB Destination 1 (new table).Is there something I am missing?[/quote]Are you saying that it previously wrote many rows, you added a multicast and now it writes zero?</description><pubDate>Thu, 10 Jan 2013 03:51:55 GMT</pubDate><dc:creator>Phil Parkin</dc:creator></item><item><title>RE: Importing one file into two database tables</title><link>http://www.sqlservercentral.com/Forums/Topic1404835-364-1.aspx</link><description>Hi I tried both methods but 0 rows were written to the OLE DB Destination 1 (new table).Is there something I am missing?</description><pubDate>Thu, 10 Jan 2013 03:35:27 GMT</pubDate><dc:creator>dbman</dc:creator></item><item><title>RE: Importing one file into two database tables</title><link>http://www.sqlservercentral.com/Forums/Topic1404835-364-1.aspx</link><description>Thats one to investigate, never used multicast.</description><pubDate>Wed, 09 Jan 2013 08:47:55 GMT</pubDate><dc:creator>anthony.green</dc:creator></item><item><title>RE: Importing one file into two database tables</title><link>http://www.sqlservercentral.com/Forums/Topic1404835-364-1.aspx</link><description>Yes.In the data flow, after the data source, add a MULTICAST.Connect one MULTICAST output to the existing table and another to the new table.</description><pubDate>Wed, 09 Jan 2013 08:47:07 GMT</pubDate><dc:creator>Phil Parkin</dc:creator></item><item><title>RE: Importing one file into two database tables</title><link>http://www.sqlservercentral.com/Forums/Topic1404835-364-1.aspx</link><description>Within the same DFT, just drag in another flat file source and another destination and mapp the two.So 2 Flat File Sources, pointing to the same Flat File Connection Manager, 1 OLE DB Destination to DB1, 1 OLE DB Destination to DB2.</description><pubDate>Wed, 09 Jan 2013 08:46:23 GMT</pubDate><dc:creator>anthony.green</dc:creator></item><item><title>Importing one file into two database tables</title><link>http://www.sqlservercentral.com/Forums/Topic1404835-364-1.aspx</link><description>I have one flat file that i import into a table using an SSIS package.  In BIDS i have a data flow task with Flat File pointing to OLE DB Destination.I have another table in Database that i need to import the same file. Is there a way to do this using the same SSIS package, rather than creating another package?Thanks</description><pubDate>Wed, 09 Jan 2013 08:40:12 GMT</pubDate><dc:creator>dbman</dc:creator></item></channel></rss>