Strange failure with to_date
select to_char(to_date('1900','yyyy'),'yyyymmdd') from dual;
returns
19001101
If you put the month in it's correct
select to_char(to_date('190001','yyyymm'),'yyyymmdd') from dual;
returns
19000101
This applies to all years that I have looked at.
0