Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Index used in query?

Index used in query?

From: Clive Walden <clivew_at_abac.com>
Date: Mon, 02 Aug 1999 20:15:40 GMT
Message-ID: <37a6fb0d.175835257@news1.abac.com>


Can the SQL engine use both index1 and Index2 in the following scenario?

Table1

   Field1
   Field2
   Field3
Index1 on Field1,Field2

Table2

   FieldA
   Field1
   Field2

Index2 on FieldA,Field1,Field2

Query
Select .....
From Table1 A, Table2 B
Where (A.Field1 = B.Field1 )
and ( A.Field2 = B.Field2 )
and (B.FieldA = 1234 )

Thanks - Clive Received on Mon Aug 02 1999 - 15:15:40 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US