Cannot fetch a row from OLE DB provider “BULK” for linked server “(null)”

前端 未结 12 1507
粉色の甜心
粉色の甜心 2021-02-18 13:24

I try to load my database with tons of data from a .csv file sized 1.4 GB. But when I try to run my code I get errors.

Here\'s my code:

USE [Intradata N         


        
12条回答
  •  情歌与酒
    2021-02-18 13:29

    I encountered a similar issue, but in this case the file being loaded contained some blank lines. Removing the blank lines solved it.

    Alternatively, as the file was delimited, I added the correct number of delimiters to the blank lines, which again allowed the file to import successfully - use this option if the blank lines need to be loaded.

提交回复
热议问题