I am trying to pull date format yyyy-mm-dd hh.mm.ss from '2016-07-05 02:38:52.1900000 -04:00'
my sql:
CONVERT(VARCHAR(19),datecolumn,120)
this returns :2016-07-05 02:38:52.
But when i load this column to my text file in ssis package from oledb to flatfile. it loads like this:
2016-07-05 02:38:52.0000000 +00:00.
Any reason why it behaves like this, can anyone tell me how to fix it?