Sofia:
You seem to be using '+' as a concat operator, which in Teradata must be '||'.
You don't provide the table definition, but your query will fail if the column DATE_DT is a timestamp(6) (for example).
HTH.
Cheers.
Carlos.
↧