I have to import a log file to SQL Server Database. File size is big, around 6MB with 40000 lines. The task of importing has to be done everyday with daily log. Each line of the log file contains many fields, which I have to import into properly columns in Database for post-processing. I'm confused of these solutions:
-Use SQL Server Integration Services to do this.
-Write a C# app using BULK COPY
I'm relatively free to choose solution (in SQL Server and .NET framework). What solution is better for this, or you can suggest another one.
Thank you very much.
//Edit: I tried SSIS and saw that it's really simple. But everyday, after receiving log file, my program has to automatically import it into database. How can I do that?