什么意思??
这样??
select * from 表 where convert(varchar(10),字段,121) between convert(varchar(10),@F,121) and
convert(varchar(10),@T,121)
这样??
select * from 表 where convert(varchar(10),字段,121) between convert(varchar(10),@F,121) and
convert(varchar(10),@T,121)
select * from 表 where datediff(day,@f,日期字段)>0 and datediff(day,日期字段,@t)>0