Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Inconsistent Query related to ANALYZE and LOWER() (or other function)
In a previous posting, I stated that I was getting inconsistent results using a function like LOWER() on one or more of the columns. I have since determined that I can get 'correct' results if I do one or both of the following, neither of which is acceptable:
Using; SCOTT/TIGER
2 ANALYST 3 MANAGER 4 SALESMANThis query fails if Tables & Indexes are Analyzed (Compute Statistics):
-----------------------------------------------
-----------------------------------------------
The only difference between the two is that the LOWER() function has been applied, and/or the Table is ANALYZED or not.
Is this known behavior? I assumed ANALYZE could give me poor (if dated) or good results, but not incorrect results. Am I missing something here?
Oracle 8.0.5, Windows NT (SP5)
Thanks,
Geoff Houck
systems hk
hksys_at_teleport.com
http://www.teleport.com/~hksys
Received on Wed May 03 2000 - 00:00:00 CDT
![]() |
![]() |