Background
I encountered a problem in the past few days. The client wants to import many CSV data files into SQLTable. I have no idea how to do this but my friend once heard about the SSIS package. So I decided to search on Google and after some time I got the solution using the SSIS package.
Introduction
This article describes how to import data into SQL Server. This article will be help you step-by-step.

Fig: 1
Everyone, meet the Import wizard. It will by default select a SQL Server Native Client 10.0 data source. You can change that depending on requirements. Many options exist, you can choose as needed. I selected Flat File Source. A flat file is a simple data file with no structured relationship. A CSV file is a flat file. A CSV file's data is separated by commas as in "jogi,singh,banger".
Fig: 2
You can see the automatic change of the design when the flat file is selected.






Note: If you want the same name for the file name as of the table then click the Next button or change the something name changed the table. Select the destination column changed the table as needed. Two more options exist for the Edit Mapping and Preview.
You can save the package for the import and export file. If you think this is not necessary then just press Next or select otherwise save the SSIS package.

Final Words
I think this is a small article but helpful for everyone. If you have any query about this article then drop your comments.


SubashPosted Aug 26, 2016, 9:43 PM EDT
Very intresting article thank you bro