我用select * from Sys_EmOutput where eId='nmrs001' and eTime between 2009-11-08 and 2009-11-10却获取不了2009-11-09的eId='nmrs001'的数据?

解决方案 »

  1.   

    select * from Sys_EmOutput where eId='nmrs001' and eTime between 2009-11-08 01:00 and 2009-11-10 23:59
    试试看
      

  2.   


    select * from Sys_EmOutput where eId='nmrs001' and eTime between '2009-11-08' and '2009-11-10'
      

  3.   

    select * from Sys_EmOutput where eId='nmrs001' and eTime>='2009-11-08' and eTime<='2009-11-10'
    这样试试好像也是可以的吧