select * from t_sms 
where convert(char(10),t_add_time,120)>'2004-10-21' 
and convert(char(10),t_add_time,120)<'2004-10-25'