if to_char(sysdate,'hh24')>=13 and to_char(sysdate,'hh24')<14 then
...
end if;

解决方案 »

  1.   

    sysdate between to_date('13','hi') and to_date('14','hi')
      

  2.   

    select * from dual where to_char(sysdate,'yyyy-mm-dd')>='2001-09-01' and to_char(sysdate,'yyyy-mm-dd')<='2005-09-01'
      

  3.   

    select '在' from dual where to_char(sysdate,'hh:mm')>='12:05' and to_char(sysdate,'hh:mm')<='13:50'
      

  4.   

    select '在'
      from dual
     where to_char(sysdate, 'YYYYMMDD HHMISS') between '20040920 200500' and
           '20040921 065500'