SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 SSIS and Import/Export (2008)
 Import Multiple Excel Files
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

xhostx
Constraint Violating Yak Guru

USA
261 Posts

Posted - 08/02/2012 :  09:07:14  Show Profile  Reply with Quote
Hi,
I have about 100 .xls files which I need to dump into a one Table SQL server 2008. They all have the same structure.
I know this is can be done using the BID, however, I would like some directions or a process of how to do it.

Steps of the process would be very appreciated.
Thanks,

--------------------------
Get rich or die trying
--------------------------

Edited by - xhostx on 08/02/2012 09:11:17

shan
Yak Posting Veteran

USA
79 Posts

Posted - 08/02/2012 :  16:14:31  Show Profile  Reply with Quote
You may use For each loop container and Select ForEach File Enumerator to loop trough each file and load it to table.


-Shan
Go to Top of Page

jackv
Flowing Fount of Yak Knowledge

United Kingdom
1773 Posts

Posted - 08/03/2012 :  01:55:09  Show Profile  Visit jackv's Homepage  Reply with Quote
Either create a SSIS package implementing ideas suggested above , or you can script through Powershell - which can easily read all the files (loop through) and import to table

Jack Vamvas
--------------------
http://www.sqlserver-dba.com
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

India
47173 Posts

Posted - 08/03/2012 :  09:57:35  Show Profile  Reply with Quote
quote:
Originally posted by xhostx

Hi,
I have about 100 .xls files which I need to dump into a one Table SQL server 2008. They all have the same structure.
I know this is can be done using the BID, however, I would like some directions or a process of how to do it.

Steps of the process would be very appreciated.
Thanks,

--------------------------
Get rich or die trying
--------------------------


see
http://visakhm.blogspot.com/2012/05/package-to-implement-daily-processing.html

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.53 seconds. Powered By: Snitz Forums 2000