BULK INSERT AlarmServer
FROM 'C:\CSV\Alarm.csv'
WITH
(
FIELDTERMINATOR = ',',
ROWTERMINATOR = '\n'
)
GO
Can You check the issue
BULK INSERT AlarmServer
FROM 'C:\CSV\Alarm.csv'
WITH
(
FIELDTERMINATOR = ',',
ROWTERMINATOR = '\n'
)
GO
Can You check the issue
I had this same issue, I would create a list of paths in a folder, and loop through them.
Out of 139 files, 2 would throw this error.
I could open these files, and comparing them to the others that success in being read by bulkload
there is no permission difference. Edit and saving them made no difference.
All of this happening on the same machine, local C drive.
I noticed that the 2 offending files had longer names than the others, and renamed them by removing a few white spaces in the file name.
This solved the issue. So in my case it could have been a path length limit issue.