初中数学说课稿一等奖:sql日期之间语句怎么写

来源:百度文库 编辑:神马品牌网 时间:2024/05/09 11:50:50
rt
select * from 表 where 日期 between #日期1# and #日期2#
好像不行。

在查询分析器里

用单引号:
select * from 表 where 日期 between '日期1' and '日期2'

select * from 表 where 日期 between #日期1# and #日期2#