On Tue, Nov 10, 2009 at 7:17 PM, Stephen Russell <[email protected]> wrote:
> On Tue, Nov 10, 2009 at 12:19 PM, MB Software Solutions, LLC
> <[email protected]> wrote:
>> Our vendor is having performance issues in their accessing our foxpro
>> data over OLE-DB.  If indexes are present, they are used, right?  They
>> claimed to have used something like a sniffer to see what looks like a
>> table-scan to them (meaning that indexes are NOT being utilized).
> ----------------------
>
> As a heads up here you are using the OLE-DB engine which is NOT the
> entire VFP engine.
>
> I will say that I doubt Rushmore can overlay using indexes for a join
> as well as in the where clause.  Only because no other RDBMS can do
> it.  I could be wrong but I think that VFP is not magic and it follows
> all the other logic used in SQL.

I seem to remember that if you have an index on field1+field2 then it
will not use the index if you do:
select * from table where field1='hi' and field2='ho'

Instead you need to use:
select * from table where field1+field2='hiho'

-- 
Paul

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to