先查询一下,看你VIEW7中查出来的日期是什么格式的?
是不是跟后面查询条件中,BETWEEN...AND...的日期格式是一样的.

解决方案 »

  1.   

    SELECT * FROM VIEW7 WHERE 打印日期  between to_date('2005-10-1','yyyy-mm- dd') and to_date('2005-10-31','yyyy-mm-dd')
    to_date('2005-10-1','yyyy-mm- dd')用空格,去掉试试
      

  2.   

    SQL> select sysdate from dual where sysdate between to_date('2005-10-1','yyyy-mm- dd') and to_date('2005-11-30','yyyy-mm-dd');SYSDATE
    -----------
    2005-11-12
    to_date这里没有问题啊。  检查别的地方.