关于between and查询问题
select * from KPIDMPRD.F_SALEABETD_ADD where dateid between date '2012-2-23'and date '2012-7-23'
查询出的数据是从2012/5/29日开始的,而用select * from KPIDMPRD.F_SALEABETD_ADD where dateid =date '2012-2-23'则可以查询出具体的2月23号的记录,求指教,怎么才能查询出从2月23号到7月23号的所有记录呢?上面的语句错在什么地方?