mlopez_1 Posted October 26, 2015 Share Posted October 26, 2015 Hi all, I like to do something like this in a query:AND $X{[bETWEEN], ACTO_CLINICO_DATE, IC_GEN_DATE_START , IC_GEN_DATE_END + 1}But raise an error.This is why parameters are only DATE but the field ACTO_CLINICO_DATE is date with time.If I use TRUNC(....) function invalidate predicate and deactivate the index, going very slow. If add 1 to end date I don't need to use TRUNC(...) and the query is very quick.Regards, Mariano Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now