Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: ENABLE NOVALIDATE behaviour bug
Note in-line
Regards
Jonathan Lewis
http://www.jlcomp.demon.co.uk/faq/ind_faq.html The Co-operative Oracle Users' FAQ
http://www.jlcomp.demon.co.uk/seminar.html Optimising Oracle Seminar - schedule updated May 1st
I've run tests on 8i and 9i and the CBO is not clever enough to determine such "certainties" with FKs even if there's a check constraint on the parent column(s), such as a check range constraints so that logically a FK value can't exist (I can post some demos if anyone's interested although it's easy enough to play with this oneself).
[JPL] Just as an aside - I've got a test case, though, where a
[JPL] check constraint on one table gets forwarded by transitive
[JPL] closure to become a predicate on a second table - 9.2.0.4
-- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html -----------------------------------------------------------------Received on Wed Jun 30 2004 - 09:13:14 CDT