Insert new rows with a Excel column with Date format
Posted: Thu 25 Apr 2019 00:11
I have 100's of rows of data in Excel where one of the columns in the Excel sheet has a "Date" data type which writes to a SQL Server "datetime" data type column.
When I insert more than one row at a time from another Excel sheet the 3rd or forth row inserted reverts back to Excel's default "general" data type. This change of data type in the cell causes a error.
Notes: A cell with a "date" data type will display a date such as "2019-04-01" whereas the same cell will display something like "12003" when the cells data type is "general".
When I insert more than one row at a time from another Excel sheet the 3rd or forth row inserted reverts back to Excel's default "general" data type. This change of data type in the cell causes a error.
Notes: A cell with a "date" data type will display a date such as "2019-04-01" whereas the same cell will display something like "12003" when the cells data type is "general".