首页 > 数据库 > > 提问 oracle 时间区间查询优化
select *
from JH t
WHERE t.enter_date_time>to_date('2019-04-19 09:45:40','YYYY-MM-dd hh24:mi:ss')
OR t.stop_date_time>to_date('2019-04-19 09:45:40','YYYY-MM-dd hh24:mi:ss')
查询很慢,数据量9万多条。
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/31492992/viewspace-3135013/ ,如需转载,请注明出处,否则将追究法律责任。