Optimize TO_TIMESTAMP() query within Oracle
问题 every time I execute this query it takes like 2 minutes to execute: select * from CPOB_Monitoring_Dashboard where VOYAGE_STRT_DT >= TO_TIMESTAMP('2014-07-03 00:00:00.000','YYYY-MM-DD HH24:MI:SS.FF') and VOYAGE_STRT_DT <= TO_TIMESTAMP('2018-07-03 00:00:00.000','YYYY-MM-DD HH24:MI:SS.FF') However if I change it to use TO_DATE instead of TO_TIMESTAMP is really fast. Linq is generating the query using TOTIMESTAMP and I've not found yet a way to change that to use TO_DATE , is there any way that I