I am trying to do bulk upload in one table in our sql database. Previously, this query worked well when we had a database on another server, but now on the new server I get an error message. Here is all I have: sql bulk import request:
BULK INSERT NewProducts FROM 'c:\newproducts.csv' WITH ( FIELDTERMINATOR = ',', ROWTERMINATOR = '\n' ) GO
And the errors I get are the following:
Msg 4832, Level 16, State 1, Line 1 Bulk load: An unexpected end of file was encountered in the data file. Msg 7399, Level 16, State 1, Line 1 The OLE DB provider "BULK" for linked server "(null)" reported an error. The provider did not give any information about the error. Msg 7330, Level 16, State 2, Line 1 Cannot fetch a row from OLE DB provider "BULK" for linked server "(null)".
Thanks for any help in advance.
sql-server bulkinsert
Laziale
source share