Oracle Pro*C 1.3

From: Michael Stowe <Michael.Stowe_at_f573.n115.z1.fidonet.org>
Date: Wed, 8 Dec 93 01:15:00 -0600
Message-ID: <ab88220c_at_f573.n115.z1.fidonet.org>


This is partly true (that is, you cannot turn off the optimizer, but xx = NULL is not an effective way to disable an index) but why the heck would you want to? That's the SQL optimizer you're talking about, NOT the compiler optimizer. To turn off the compiler optimizer, consult your compiler documentation.

> He also mentioned if there are several table in the from clause, the
> rightmost table will be used first when the where clauses are evaluated.

This is 100% wrong. If there are several tables in the from clause, the largest possible index starting with the first arbitrary table (actually based on physical location, so it is NOT smart to rely on consistency).

> Can anyone please provide me some insights on the above statements?

Do no listen to this person any more. <G>

  • T.A.G. 2.6f1 Standard
    • Origin: The Lost BBS (1:115/573)
Received on Wed Dec 08 1993 - 08:15:00 CET

Original text of this message