sunflower30
Technical User
Hi I am trouble with the date format in Teradata. My source and target is teradata.
CREA_DATE -- DATATYPE string
CREA_DATE_OUT(target)-- DATATYPE date
I have tried cast(db_stg.crea_date as date format 'YYYYMMDD')
AND TO_DATE(TRUNC(CREA_DATE))
I keep getting the same error. Can anyone please tell me a way around this problem.
CREA_DATE -- DATATYPE string
CREA_DATE_OUT(target)-- DATATYPE date
I have tried cast(db_stg.crea_date as date format 'YYYYMMDD')
AND TO_DATE(TRUNC(CREA_DATE))
I keep getting the same error. Can anyone please tell me a way around this problem.