oracle表中以某一天时间为条件的查询几种写法

写法一:将列转为字符串sql select * from Example where to_char(DATE_T,'yyyy-mm-dd')='2018-07-30';性能 在不考虑sql语句的查询性能的状况下能够考虑这种写法。索引 写法二:对列截取或模糊查询字符串 select * from Example where trunc(DATE_TRAVEL) = to_date('2018-07
相关文章
相关标签/搜索