Bulk Insert Sql Server millions of record

后端 未结 3 1061
长情又很酷
长情又很酷 2020-12-03 08:13

I have a Windows Service application that receives a stream of data with the following format

IDX|20120512|075659|00000002|3|AALI                 |Astra Agro         


        
3条回答
  •  不知归路
    2020-12-03 09:06

    If you are writing this in C# you might want to look at the SqlBulkCopy class.

    Lets you efficiently bulk load a SQL Server table with data from another source.

提交回复
热议问题