Re: ENABLE NOVALIDATE behaviour bug

  • From: "Jonathan Lewis" <jonathan@xxxxxxxxxxxxxxxxxx>
  • To: <oracle-l@xxxxxxxxxxxxx>
  • Date: Wed, 30 Jun 2004 15:14:33 +0100

Note in-line

Regards

Jonathan Lewis

http://www.jlcomp.demon.co.uk

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


----- Original Message ----- 
From: "Richard Foote" <richard.foote@xxxxxxxxxxx>


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



----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to:  oracle-l-request@xxxxxxxxxxxxx
put 'unsubscribe' in the subject line.
--
Archives are at //www.freelists.org/archives/oracle-l/
FAQ is at //www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------

Other related posts: