雷公藤副作用症状:sql日期之间语句怎么写
来源:百度文库 编辑:中科新闻网 时间:2024/04/28 17:58:32
rt
select * from 表 where 日期 between #日期1# and #日期2#
好像不行。
在查询分析器里
select * from 表 where 日期 between #日期1# and #日期2#
好像不行。
在查询分析器里
用单引号:
select * from 表 where 日期 between '日期1' and '日期2'
select * from 表 where 日期 between #日期1# and #日期2#