this column "Date_Pay" is CHAR(10) at teradata WH and it looks like this
when I try this sql filter
AND cast(cl."Date_Pay" as date) BETWEEN TO_DATE ('2010/01/01',
AND TO_DATE ('2010/01/02',
I get error msg ORA-01861
literal does not match format string
Cause: Literals in the input must be the same length as literals in the format string (with the exception of leading whitespace). If the "FX" modifier has been toggled on, the literal must match exactly, with no extra whitespace.
Action: Correct the format string to match the literal.