[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

How to bulk load CSV files into SQL Server Express?

Posted on 2012-03-22
3
Medium Priority
?
320 Views
Last Modified: 2012-04-10
I have 2,616 CSV files with each having an average of 3,200 records.  

I need to combine all of these records into a single large table in SQL Express so that I can do some research on the data and output some charts based on that research.

What is the easiest/fastest way to get all of that data into a single table in SQL Server Express?  (Some of the text fields have commas in them - if that matters.)
0
Comment
Question by:JimHubbard
  • 2
3 Comments
 
LVL 12

Accepted Solution

by:
NormanMaina earned 1002 total points
ID: 37754086
If the CSV files have the same format,in one folder and have teh columns required to match sql server columns ,you can use SQL Server Intergration Services to create a package to loop through the folder and upload the CSV data into your SQL server table.

This should get you started with SSIS:
http://msdn.microsoft.com/en-us/library/ms170419.aspx
0
 
LVL 12

Assisted Solution

by:NormanMaina
NormanMaina earned 1002 total points
ID: 37754158
0
 
LVL 83

Assisted Solution

by:CodeCruiser
CodeCruiser earned 498 total points
ID: 37765176
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
What if you have to shut down the entire Citrix infrastructure for hardware maintenance, software upgrades or "the unknown"? I developed this plan for "the unknown" and hope that it helps you as well. This article explains how to properly shut down …
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

826 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question