Re: Query capture

  • From: Wolfgang Breitling <breitliw@xxxxxxxxxxxxx>
  • To: stephen booth <>
  • Date: Thu, 07 Apr 2005 14:33:43 -0600


The "you" wasn't meant personal. I know that you just wrote a quick sql 
in response to the question on Oracle-L. I just wanted to point out an 
all-to-easy made mistake.

stephen booth wrote:

> On Apr 7, 2005 8:06 PM, Wolfgang Breitling <breitliw@xxxxxxxxxxxxx> wrote:
>>The old problem. You are relying on a specific order of execution of the
>>predicates. Oracle is perfectly in its right to calculate
>>(a.elapsed_time/(1000000*a.executions)) > 5
>>a.executions > 0
> Actually it was just a case that it worked when I tried it and so it
> didn't occur to me that another Oracle instance might  evaluate the
> where clause in a different order.  Oh well, we live and learn.
> Stephen


Wolfgang Breitling
Centrex Consulting Corporation

Other related posts: