Solved

How to bulk load CSV files into SQL Server Express?

Posted on 2012-03-22
3
313 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

This article describes a serious pitfall that can happen when deleting shapes using VBA.
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

717 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