cancel
Showing results for 
Search instead for 
Did you mean: 

Dataservices is sending wrong DATETIME value

11-03-2022 9:57 AM
cader_berkay Explorer
1521 views 4 comments
0 Likes
SAP Managed Tags
Subscribe

Hi All,

Hope you folks doing well,

I have a problem when I load data to Snowflake with Dataservice. I have two columns. I concate these columns then I am creating new columns with DateTime format. When I load the data value is wrong.

VBRK_ERDAT = '2019-08-07'

VBRK_ERZET = '08:21:40'

I am using the below converting.

to_date(to_char(STG_INVOICE_TABLE.VBRK_FKDAT||' '||STG_INVOICE_TABLE.VBRK_ERZET, 'yyyy.mm.dd hh24:mi:ss'),'yyyy.mm.dd hh24:mi:ss')

I load data then I check data in Snowflake. It is coming wrong.

Snowflake >> '2019-08-01 22:21:40.000'

Regards,

Mehmet
0 Likes

Accepted Solutions (0)

Answers (0)