- Posts: 271
- Thank you received: 22
Date Reformat? Am I missing something.
7 years 5 months ago #14992
by DeanCovey
Date Reformat? Am I missing something. was created by DeanCovey
Please Log in or Create an account to join the conversation.
7 years 5 months ago #14993
by admin
Mike
ETL Architect
Replied by admin on topic Date Reformat? Am I missing something.
Are you loading data into Date or Datetime field?
Mike
ETL Architect
Please Log in or Create an account to join the conversation.
- Peter.Jonson
-
- Offline
- Platinum Member
-
7 years 5 months ago #14994
by Peter.Jonson
Peter Jonson
ETL Developer
Replied by Peter.Jonson on topic Date Reformat? Am I missing something.
Please try using
M/D/YYYY HH:NN:SS TT format
M/D/YYYY HH:NN:SS TT format
Peter Jonson
ETL Developer
Please Log in or Create an account to join the conversation.
7 years 5 months ago #14995
by DeanCovey
Replied by DeanCovey on topic Date Reformat? Am I missing something.
Please Log in or Create an account to join the conversation.
- Peter.Jonson
-
- Offline
- Platinum Member
-
7 years 5 months ago #14996
by Peter.Jonson
Peter Jonson
ETL Developer
Replied by Peter.Jonson on topic Date Reformat? Am I missing something.
If you are loading data into datetime field you have to make sure that your data is in standard ODBC format YYYY-MM-DD HH:NN:SS.FFF
You can use Date format function for it
www.etl-tools.com/wiki/aetle:transformation_functions:date?s []=format&s[]=date
If it is already in this format just leave as it is
Do not forget to get rid of leading and trailing spaces
You can use Date format function for it
www.etl-tools.com/wiki/aetle:transformation_functions:date?s []=format&s[]=date
If it is already in this format just leave as it is
Do not forget to get rid of leading and trailing spaces
Peter Jonson
ETL Developer
Please Log in or Create an account to join the conversation.
7 years 5 months ago #14997
by DeanCovey
Replied by DeanCovey on topic Date Reformat? Am I missing something.
It's just a text file and I am trying to send to a SQL table datetime. i tried setting the SQL to date, not luck. I also tried a trim as suggested.
Please Log in or Create an account to join the conversation.