SQL won't insert null values with BULK INSERT
问题 I have a CSV file and each line looks similar to this: EASTTEXAS,NULL,BELLVILLE AREA,NULL,BELLVILLE AREA,RGP,NULL,NULL,0,NULL,NULL,NULL,1,1,PM,PM Settings,NULL,NULL I couldn't find any examples on how NULL values were supposed to be handled when doing BULK INSERT, so I assumed that was OK. When I try to run the BULK INSERT, it gives me this error: Msg 4864, Level 16, State 1, Line 28 Bulk load data conversion error (type mismatch or invalid character for the specified codepage) for row 1,