select * 
from t_ticqcost 
where starttime>='1900-1-1 0:00:00' and starttime<='2004-9-8 0:00:00'

解决方案 »

  1.   


    select * 
    from t_ticqcost 
    where starttime>='1900-1-1 0:00:00' and starttime<='2004-9-8 0:00:00'
      

  2.   

    select * 
    from t_ticqcost 
    where starttime>='1900-1-1 0:00:00' and starttime<='2004-9-8 0:00:00'日期用'括起来
      

  3.   

    select * 
    from t_ticqcost 
    where starttime>='1900-1-1 0:00:00' and starttime<='2004-9-8 0:00:00'
      

  4.   

    select * 
    from t_ticqcost 
    where starttime>=convert(datetime,'1900-1-1 0:00:00') 
          and starttime<=convert(datetime,'2004-9-8 0:00:00')