did you look at my last example?

On Thu, Jun 16, 2011 at 1:13 PM, Gayathri <[email protected]> wrote:

> I was stuck in identifying where was i wrong.
>
> did the exact same way, but it was still taking FULL table scan,
> Later found that there are 3 columns in the select clause those are not
> indexed. commenting them out.. let it take FAST FULL SCAN. it is lot better
> now.
>
> But I need to include those 3 columns in the SELECT. Any suggestions? what
> am i missing?
>
>
>
> On Wed, Jun 15, 2011 at 12:16 PM, Michael Moore 
> <[email protected]>wrote:
>
>> or simply
>>
>>  SELECT /*+ and_equal(em EMP_EMP_ID_PK EMP_NAME_IX) */
>>       em.employee_id, em.last_name, email
>>    FROM qsn_app.employees em
>>  WHERE INSTR (UPPER (em.last_name), 'KIN', 1,1) > 0;
>>
>> which gives the same plan.
>>
>>
>>   --
>> You received this message because you are subscribed to the Google
>> Groups "Oracle PL/SQL" group.
>> To post to this group, send email to [email protected]
>> To unsubscribe from this group, send email to
>> [email protected]
>> For more options, visit this group at
>> http://groups.google.com/group/Oracle-PLSQL?hl=en
>>
>
>  --
> You received this message because you are subscribed to the Google
> Groups "Oracle PL/SQL" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/Oracle-PLSQL?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Oracle PL/SQL" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Oracle-PLSQL?hl=en

Reply via email to