Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MANY txt (csv) files... I need to import them in bulk. 1

Status
Not open for further replies.

03Explorer

Technical User
Sep 13, 2005
304
US
I have 52 text files that I need to import into a single table. It appears each file has the header of column names as first row. Is there a way to use SSIS to gather the file names from the directory and import them? It will be a new table. The server is SQL Server 2008. Each TXT file is proximately 17.6MB file (52 files = 2.32GB)


I know how to setup a basic SSIS package to import from a file into a table, but I want to take it up a notch and have the package do all TXT files.
 
good article here showing you how.



----------------------------------------

Be who you are and say what you feel, because those who mind don't matter and those who matter don't mind - Dr. Seuss

Computer Science is no more about computers than astronomy is about telescopes - EW Dijkstra
----------------------------------------
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top