虚拟机物理化:sql日期之间语句怎么写

来源:百度文库 编辑:查人人中国名人网 时间:2024/05/07 06:42:03
rt
select * from 表 where 日期 between #日期1# and #日期2#
好像不行。

在查询分析器里

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

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