Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: imported database inconsistencies
OK I was just able to bounce our test instance, and found that changing the
optimizer mode made the difference. The RBO uses an index, the CBO opts for
a full table scan(Only 300 rows in the table). The trouble is that some of
the values in RV_LOW_VALUE are not numeric. The FTS is evaluating the
RV_LOW_VALUE attribute for each returned row, and well causing the numeric
value error.
Interestingly enough I rewrote the original query to place the RV_DOMAIN condition earlier in the Where clause(before the to_char(RV_LOW_VALUE) condition), and the problem disappears. I guess the order of the where clause can make a difference.
Steve McClure
--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author: Steve McClure
INET: smcclure_at_usscript.com
Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services ---------------------------------------------------------------------To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Thu May 22 2003 - 17:18:11 CDT