Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: SQL Tuning on a date

Re: SQL Tuning on a date

From: DA Morgan <damorgan_at_x.washington.edu>
Date: Thu, 21 Oct 2004 18:56:46 -0700
Message-ID: <1098410153.812530@yasure>


descentr wrote:

> I ran a query through an optimizer and one of the things it did (which
> improved performance) was to add a "+ 0" to the two date fields in the
> where clause.
>
> i.e. mytable.datefield + 0 > to_date('a date')
>
> What does this do?
>
> Mike

Which optimizer?

-- 
Daniel A. Morgan
University of Washington
damorgan_at_x.washington.edu
(replace 'x' with 'u' to respond)
Received on Thu Oct 21 2004 - 20:56:46 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US