There is an input text file (download from CRM). In the body there are 55 columns (separated by tabular), the first row with the title has 54 columns. By idea code
BULK INSERT dbo.dbname FROM 'C:\all_Crm\2014\august\data_dbname.txt' WITH ( CODEPAGE = '1251', FIELDTERMINATOR = '\t', FIRSTROW = 2, ROWTERMINATOR = '\n', MAXERRORS = 10, ); Should add all lines starting from the second, but adding from the third, if you delete the first line with the FIRSTROW = 1 and replace FIRSTROW = 1 , then everything is added correctly. Those. FIRSTROW triggered not by the end of the line, but by 55 columns (54 + 1 of the next) and the end of the line (that is, the next line). It is not possible to delete a line with a header in advance (file size 500mb-2.5GB). How can I make it work right?