Hi,
I have an issue with bulk insert where it picks wrong rows for insertion from a CSV file with sections in it.
my file looks like
Section::Test
Column1,Column2
1,2
Section::Test2
Sec2Col1,Sec2Col2,sec3col3,sec4col4,sec5col5
1,2,3,4,2
2,3,4,5,3
4,5,6,5,6
Section::Test3
newCol1,newCol2,newcol3,newcol4
2,3,4,2
3,4,5,3
Section::Test4
Col1,col2,col3
2,2,2
3,4,5
5,4,6
i get the issue while inserting the second section,third section and fourth section into the database.
using a format file for this gives me
Msg 4832, Level 16, State 1, Line 1Bulk load: An unexpected end of file was encountered in the data file.
Msg 7301, Level 16, State 2, Line 1
Cannot obtain the required interface ("IID_IColumnsInfo") from OLE DB provider "BULK" for linked server "(null)".
Please check and revert.
thank you