select to_char(dexpt_receive_time,'yyyy-mm-dd hh24:mi:ss.FF3') from dexpt_data_log_backup t 
where to_char(dexpt_receive_time,'yyyy-mm-dd hh24:mi:ss.FF3') >= '2007-03-01 01:00:00.000' 
and to_char(dexpt_receive_time,'yyyy-mm-dd hh24:mi:ss.FF3') <= '2007-03-01 02:00:00.000' 
这样查询出来的结果是正确的,但是hh24修改为HH如下:
select to_char(dexpt_receive_time,'yyyy-mm-dd HH:mi:ss.FF3') from dexpt_data_log_backup t 
where to_char(dexpt_receive_time,'yyyy-mm-dd HH:mi:ss.FF3') >= '2007-03-01 01:00:00.000' 
and to_char(dexpt_receive_time,'yyyy-mm-dd HH:mi:ss.FF3') <= '2007-03-01 02:00:00.000' 
这样查询出来的结果怎么就不对了
hh24和HH不都是表示24小时制的日期吗?