I don't know if anybody already asked this before.
but what does this error means:
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)".
==============================================================================
I'm trying to upload a .csv file using "BULK INSERT" into mytable with datatype of nvarchar(max)
Here is my Bulk Insert Script:
BULK INSERT myTable
FROM 'D:\CSV Files\CLIENT\DATA.csv'
with
(
firstrow = 2,
fieldterminator = ',',
rowterminator = '\n',
tablock,
keepnulls
)
Thanks Everyone,