select 1 from dual where qssj<to_char(sysdate,'hh24:mi:ss') and 
jssj>to_char(sysdate,'hh24:mi:ss');

解决方案 »

  1.   

    select count(*) from dual 
      where  
    QSSJ<to_char(to_date('2003-8-26 1:30:00','yyyy/mm/dd hh24:mi:ss'),'hh24:mi:ss') and 
    to_char(to_date('2003-8-26 1:30:00','yyyy/mm/dd hh24:mi:ss'),'hh24:mi:ss')<JSSJ;
      

  2.   

    where to_date('2003-08-26 13:30:00','yyyy-mm-dd hh24:mi:ss') between 
    qssj and jssj
      

  3.   

    : jiezhi(浪子 的方法好. 欣赏.