Struggling with Date reformat MySQL

More
5 years 1 month ago #21296 by DeanCovey


The transformation work working fine on MS-SQL without any reformating. Switching the source and destination to MySQL, now I need to reformat it. Can't quite it out what the input should be.
Attachments:

Please Log in or Create an account to join the conversation.

More
5 years 1 month ago #21297 by admin
Are you loading data into the date field?
EG why do you need to reformat it?

Mike
ETL Architect

Please Log in or Create an account to join the conversation.

More
5 years 1 month ago #21298 by DeanCovey
I had to reformat it for DateDIff function.

Please Log in or Create an account to join the conversation.

More
5 years 1 month ago #21299 by DeanCovey
"Are you loading data into the date field?" -- No, it's not the same from MIN Date from detail going to header record.

Please Log in or Create an account to join the conversation.

More
5 years 1 month ago #21300 by DeanCovey
I get an Invalid Argument to Date encode without any reformat

Please Log in or Create an account to join the conversation.

More
5 years 1 month ago #21301 by admin
This one works D/M/YYYY HH:NN:SS TT

Mike
ETL Architect

Please Log in or Create an account to join the conversation.

Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Read more
Marketing
Set of techniques which have for object the commercial strategy and in particular the market study.
Google
Accept
Decline
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Google Analytics
Accept
Decline
Functional
Tools used to give you more features when navigating on the website, this can include social sharing.
Advertisement
If you accept, the ads on the page will be adapted to your preferences.
Google Ad
Accept
Decline
Save