先做个函数uf_DateCompare(@date, @strDates) RETURN int
然后就好处理了。
先把字段拆分然后比较
假设你的日期字段是 date,表名叫huiyi
select * from huiyi where to_char(date, 'yyyy-mm-dd') >= '2016-11-29'
查询出来就是大于这个20161129以后的数据
select * from huiyi where date >='2016-11-01' and <='2016-11-29'
查询出来是2016-11-01到2016-11-29之间所有的会议数据
你的问题也是问的模模糊糊,希望能帮到你