﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / SQL Server 2005 / SQL Server 2005 Integration Services  / Import from multiple flat files daily with filename and date / 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>Sat, 25 May 2013 13:51:03 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Import from multiple flat files daily with filename and date</title><link>http://www.sqlservercentral.com/Forums/Topic1366170-148-1.aspx</link><description>I have been able to run ForEach loop for this problem. All the files loaded in a single run. It was amazing to see that.Now please help me with the location code and date extraction from the file name.Thanks in advance.Harish</description><pubDate>Sat, 29 Sep 2012 08:42:52 GMT</pubDate><dc:creator>aharish_iitk</dc:creator></item><item><title>Import from multiple flat files daily with filename and date</title><link>http://www.sqlservercentral.com/Forums/Topic1366170-148-1.aspx</link><description>Dear All,I am a new comer to SQL Server and have no programming background. I am trying to make a database for my own small company.I get some 100 flat files everyday. All of them have same data format. I am attaching a zip of one day. I get one such zip file daily.The file name format is like I_location code_date.My requirement is that data from all these 100 files should be imported in a table into SQL Server 2005. Apart from the data from the files two new columns should be added for location code and date.I am trying to do this since last 10 days and I have put lot of efforts but could not do it. I have been successful in importing the data and the full file name. But I have not been able to capture date and location code. All this info is available in the file name. Also I want to do it in a single package but multiple flat file connector seems not to be working for me.I will be sincerely thankful for any help and solution in this regard.Harish Awasthi</description><pubDate>Sat, 29 Sep 2012 01:47:00 GMT</pubDate><dc:creator>aharish_iitk</dc:creator></item></channel></rss>