Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
TharunJoshi
Contributor III
Contributor III

Change in Date_format

Hi
I have an Excel file which has a date column in the format of mm/dd/yyyy but when I load this into table it is loading as mm/dd/yy.
Why does this happen
I use SQL server
My scenario is converting
mm/dd/yyyy
into
mm in one column as integer
Dd in one column as integer
Yyyy in one column as integer the first two works fine but yyyy is loading as yy
Any suggestions are much appreciated thanks

Labels (3)
1 Solution

Accepted Solutions
Anonymous
Not applicable

Hi Tharun,

 

     Is the data loaded to SQL server in mm/dd/yy format or is the data displaying from SQL server in mm/dd/yy format?

 

     Could you please check the tDBOutput component and cross check the format used for the date column while loading? If its looking fine and if it is mm/dd/yyyy (you can also add a tLogrow component to cross check the data before and after tDBOutput), then the next step is to check the data display format for your DB.

 

     The issue could happen because your data display format in SQLserver client connection is having a default format of mm/dd/yy. Could you please check these details and revert? Please also add some screenshots so that we will get better idea of the issue (if it still persists).

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂

View solution in original post

2 Replies
Anonymous
Not applicable

Hi Tharun,

 

     Is the data loaded to SQL server in mm/dd/yy format or is the data displaying from SQL server in mm/dd/yy format?

 

     Could you please check the tDBOutput component and cross check the format used for the date column while loading? If its looking fine and if it is mm/dd/yyyy (you can also add a tLogrow component to cross check the data before and after tDBOutput), then the next step is to check the data display format for your DB.

 

     The issue could happen because your data display format in SQLserver client connection is having a default format of mm/dd/yy. Could you please check these details and revert? Please also add some screenshots so that we will get better idea of the issue (if it still persists).

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂

TharunJoshi
Contributor III
Contributor III
Author

Sorry for the delayed response you have exactly mentioned it is the problem with sql