Trying to execute a bulk insert statement in sql table which contains dates.
Bulk insert Games
From 'C:\a\sss\a\Games.txt'
With (FIRSTROW =2 , FIELDTERMINATOR ='\t', ROWTERMINATOR='\n');
I keep getting an error
Msg 7339
Invalid data for column date
The column date
in the table is of type date
.
In the .txt
file the value is 31-Dec-18
.
Can someone please help on this?
Database built using SQL Server Management Studio 11.0
And to provide some info on the file to be loaded:
date
31-Dec-17
31-Dec-17