Solved

How to bulk load CSV files into SQL Server Express?

Posted on 2012-03-22
3
305 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 334 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 334 total points
ID: 37754158
0
 
LVL 83

Assisted Solution

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

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Everyone has problem when going to load data into Data warehouse (EDW). They all need to confirm that data quality is good but they don't no how to proceed. Microsoft has provided new task within SSIS 2008 called "Data Profiler Task". It solve th…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.

762 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now