simplest way to do a recurring text file upload to sql server

前端 未结 3 1332
灰色年华
灰色年华 2021-01-24 01:17

i have a TAB DELIMITTED log file where new data in this log file needs to be dumped into a sql server 2008 database. i am wondering what is the best way to automate this? is the

3条回答
  •  渐次进展
    2021-01-24 01:26

    If you have SQL Server Integration Services (SSIS) installed, you could use that to load the Tab delimited file into SQL Server table. In this link (SQL Integration Services to load tab delimited file), I have explained it step-by-step on how to load a tab delimited file into SQL Server table using SSIS.

    If you would also like to loop through multiple files of same format in a given folder and load the data into a table, here is another Stack Overflow link (Loading multiple files) that might help you do that.

    Hope that helps.

提交回复
热议问题