I need to write a bulk insert statement with {LF} as the row delimiter and a "," as the column delimeter. Below is what I have
BULK INSERT CaseLevelData.dbo.medpar2007_hosp_costedcsv
FROM 'D:\medpar2007_hosp_costed.txt'
WITH
(FIELDTERMINATOR = '","',
ROWTERMINATOR = '')
GO
But I get the following error:
The bulk load failed. The column is too long in the data file for row 1, column 1. Verify that the field terminator and row terminator are specified correctly.
Am I using the correct ROWTERMINATOR in the statement?