- Posts: 271
- Thank you received: 22
Date Format / Reformat to SQL ?
6 years 4 weeks ago #17082
by DeanCovey
Date Format / Reformat to SQL ? was created by DeanCovey
I am trying to transform a date from JSON to SQL Date. Am I supposed to use date format or date reformat? No matter what I seem to do, the result gets set to null.
Please Log in or Create an account to join the conversation.
6 years 4 weeks ago #17083
by admin
Mike
ETL Architect
Replied by admin on topic Date Format / Reformat to SQL ?
Both of then should work
From the screenshot provided we cannot see the values passed into date format or date reformat functions.
It is difficult to understand what is going on:(
From the screenshot provided we cannot see the values passed into date format or date reformat functions.
It is difficult to understand what is going on:(
Mike
ETL Architect
Please Log in or Create an account to join the conversation.
6 years 4 weeks ago #17084
by DeanCovey
Replied by DeanCovey on topic Date Format / Reformat to SQL ?
Please Log in or Create an account to join the conversation.
6 years 4 weeks ago #17085
by admin
Mike
ETL Architect
Replied by admin on topic Date Format / Reformat to SQL ?
For loading data into the database you have to make sure that it is on YYYY-MM-DD HH:MM.SS.FFF format (without leading or trailing spaces)
Your transformation is far too complicated you can Just use After and Before transformations to get the data you need
After => Before=>Date format
Your transformation is far too complicated you can Just use After and Before transformations to get the data you need
After => Before=>Date format
Mike
ETL Architect
Please Log in or Create an account to join the conversation.
6 years 3 weeks ago - 6 years 3 weeks ago #17091
by DeanCovey
Replied by DeanCovey on topic Date Format / Reformat to SQL ?
Last edit: 6 years 3 weeks ago by DeanCovey.
Please Log in or Create an account to join the conversation.
6 years 3 weeks ago #17092
by DeanCovey
Replied by DeanCovey on topic Date Format / Reformat to SQL ?
Please Log in or Create an account to join the conversation.