select * from monthorder where   #2002-6-25#  bewteen  起订日 and 止订日//什么?你不给我分?你还不知道我是八大天王之一?
PS:  1:拉登;2:hammer_shi;3:李同志;4:杀他母

解决方案 »

  1.   

    select * from Monthorder where date>=:起定日 and date<=:止订日 anddate=:指定日期 试一下看看
      

  2.   

    select * from Monthorder where (date >= '指定日期' and date <= '止订日') 
    or (date >= '起定日' and date <= '指定日期')
      

  3.   

    select * from Monthorder where (date > '指定日期' and date <= '止订日') 
    or (date >= '起定日' and date < '指定日期')
      

  4.   

    Select * from Monthorder where (起定日 <= #2002-6-25#) and
    (止订日 >= #2002-6-25#)
    试一下吧