日期:2014-05-17  浏览次数:21047 次

如何查询今天的数据?
表中有个date类型的数据
2011-11-29 10:55:41
2011-11-29 14:45:56
2011-11-28 14:45:56

怎么查当天的数据,今天是29号,sql怎么写?

------解决方案--------------------
select * from tab where trunc(字段,'dd') = trunc(sysdate,'dd');