SQL Server - Running large script files

前端 未结 6 1377
礼貌的吻别
礼貌的吻别 2020-12-07 16:31

I have a database table on a development server that is now fully populated after I set it running with an import routine for a CSV file containing 1.4 million rows.

6条回答
  •  情书的邮戳
    2020-12-07 17:02

    Running something that large inside a single transaction is not a good idea. Therefore, I'd recommend breaking up the file into smaller, more manageable chunks.

    Another option is to look at some of the other ways to import CSV data directly.

提交回复
热议问题