I'm having trouble inserting null value from a bulk insert statement.
Two columns are nullable and the Id is identity.
The int
nullable workd out fine, but the time
doesn't.
Here the bulk statement:
BULK INSERT Circulation FROM '.....file.cs' WITH ( FIRSTROW = 2, MAXERRORS = 0, FIELDTERMINATOR = ',', ROWTERMINATOR = '', KEEPNULLS)
Here is an extract of the csv:
ID, IDStopLine, IDException, Hour, PositionHour, Day ,28, 8, 12:20, 52, 0 ,29, 163, , 1,
Meaning that I'm trying to insert nulls in those both columns. The result is ithe int column with NULL and the time column with 00:00:00