cancel
Showing results for 
Search instead for 
Did you mean: 

Excel Workbooks file format - varchar vs datetime

Former Member
0 Kudos

Hi all,

we are facing a strange issue after migrating from Data Integrator 11.7 to Data Services 4.1 SP 1.

We have a lot of excel file format in which date fields Data Type are described as Varchar.

In Data Integrator the content of those fields were represented in the format YYYY.MM:DD HH24.MI.SS.

In Data Services the representation is set according to OS Locale settings (changing OS Locale also affects date field representation).

This affects both the transformations "where condition" (where we have explicit cast as "to_date(field, 'YYYY.MM:DD HH24.MI.SS')") and the output in the target database, where we have varchar2 fields, used in PL/SQL procedure that assumes the format is YYYY.MM:DD HH24.MI.SS.

In order to make Data Services behavior match old Data Integrator one, we have to change all date fields format (about 400 file formats) from varchar to datetime.

Does anyone faced our same problem and/or find a different solution?

We can't simple change the OS locale because in this way we would make a lot of other jobs not properly working.

Thank you

Regards

Armando

Accepted Solutions (0)

Answers (1)

Answers (1)

vnovozhilov
Employee
Employee
0 Kudos

Could you please submit a screenshot of SAP Data Services Locale Selector?

Thank you,

Viacheslav.

Former Member
0 Kudos

Hi Viacheslav,

here attached the locale selector and the OS locale.

Thank you

Armando