你用
select to_char(to_date(' 3-12月-49'),'yyyy-mm-dd') from dual;
select to_char(to_date(' 3-12月-50'),'yyyy-mm-dd') from dual;
select to_char(to_date(' 3-12月-88'),'yyyy-mm-dd') from dual;分别做一下,看看表示的时间到底是什么

解决方案 »

  1.   

    请不要直接那日期格式去和字符串比较. 
    hiredate between to_date('3-12-50','MM-DD-YY') AND to_date('3-12-88','MM-DD-YY')
      

  2.   

    可能是千年虫:也许48表示2048呢:)
    建议你用:
    to_date('3-12-1950','MM-DD-YYYY') AND to_date('3-12-1988','MM-DD-YYYY')
      

  3.   

    谢谢各位了,是千年虫问题。我标出了具体的年就可以了:
    select hiredate from emp
    where hiredate between '3-12月-1949' and '3-12月-1988';
    各位仁兄说的以下句式比较标准,我以后采纳了,不过还是得加上是具体哪一年:
    select hiredate from emp
    where hiredate between to_date('3-12月-1949') and to_date('3-12月-1988');