Click here to Skip to main content
15,891,184 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,
I am new to SSIS and i have to move data of around 30 .csv files with same format in one table of SQL server 2008.
I want to know how can i do that using SSIS. What is the best approach for this. Can i have some good article on my problem?

Thanks,
Sajid H
Posted
Updated 19-Nov-13 1:54am
v2
Comments
Maciej Los 19-Nov-13 14:09pm    
What have you tried till now? Where are you stuck?
sajid hassan 13-Dec-13 2:46am    
Thanks Los. I was new to SSIS and was bit confused so i moved on with C#.

1 solution

You can directly write sql statements which will read CSV.

http://blog.sqlauthority.com/2008/02/06/sql-server-import-csv-file-into-sql-server-using-bulk-insert-load-comma-delimited-file-into-sql-server/[^]

Create a procedure and pass file name as parameter if schema of table and CSV is same.
 
Share this answer
 
Comments
sajid hassan 13-Dec-13 2:45am    
Thanks Deepak for your solution. However i have opted to do this in C#.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900