select *
from t_ticqcost
where starttime>='1900-1-1 0:00:00' and starttime<='2004-9-8 0:00:00'
from t_ticqcost
where starttime>='1900-1-1 0:00:00' and starttime<='2004-9-8 0:00:00'
调试欢乐多
select *
from t_ticqcost
where starttime>='1900-1-1 0:00:00' and starttime<='2004-9-8 0:00:00'
from t_ticqcost
where starttime>='1900-1-1 0:00:00' and starttime<='2004-9-8 0:00:00'日期用'括起来
from t_ticqcost
where starttime>='1900-1-1 0:00:00' and starttime<='2004-9-8 0:00:00'
from t_ticqcost
where starttime>=convert(datetime,'1900-1-1 0:00:00')
and starttime<=convert(datetime,'2004-9-8 0:00:00')