I am importing data from postgres into sql server. Fields where data type is 'timestamp without (or with) time zone' i used datetimeoffset in sql table but couldn't create package with the same. So i changed the datatype as datetime. Now, when I import data,all the dates and time are coming perfectly alright but where there is no data ( blank) then its displayed as some weird date instead of NULL in my SQL table. Those weird dates are - 1899-12-30 00:00:00.000 1753-01-01 00:00:00.000
What am i missing and how to resolve this? Maybe that's a simple thing but I am quite new to SQL so apologies if its really easy but any help is appreciated.
Thanks, AP