Different dates Oracle 11g with TOAD
问题 I have the following queries: SELECT to_date(to_char(to_date('01-FEB-1949'))) FROM DUAL; /*this returns 2/1/2049. */ SELECT to_date(to_char(to_date('01-FEB-1949'),'dd-MON-yyyy')) FROM DUAL; /*this returns 2/1/1949.*/ Why does the first one returns the year 2049 instead of 1949 ? By Googling I have found that I can "force" the client date format to be the one desire by changing the key on the registry: KEY_OraClient11g_home1 NLS_DATE_FORMAT : YYYY/MM/DD 回答1: You're doing multiple implicit date