On Tue, Nov 10, 2009 at 1:14 PM, MB Software Solutions, LLC
<[email protected]> wrote:
> Yes, I've requested the query text from them to ensure that it's an
> exact match, but OLE-DB access *will* use use the index for optimization
> if a good match, correct?
-----------------------------------------

OLE-DB can only use a single index to do the workload.

So if your index is correct for the join condition that is the INDEX
the table will use.  If your Where clause has other columns in it like
InvoiceDate and that column is not part of the index used for the JOIN
the SQL Engine will default to a table scan to find the data you
requested from the table you wanted.




-- 
Stephen Russell
Sr. Production Systems Programmer
SQL Server DBA
Web and Winform Development
Independent Contractor
Memphis TN

901.246-0159

_______________________________________________
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