For UniData - FOO LIKE "'ABC'..." I think so - because the first part is literal. FOO LIKE "ABC..." I don't think so - because you aren't explicitly saying the first part is a literal.
-----Original Message----- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Jeffrey Butera Sent: Thursday, May 23, 2013 6:50 AM To: U2 Users List Subject: [U2] Unidata Index question I have two question about how indicies affect queries: 1) If I have an index built for a given field FOO, and perform a query with "like" such as "FOO LIKE 'ABC...' " does it benefit from the index? Or is it only queries with equality conditions that benefit from the index (eg: "FOO EQ 'ABC' ")? 2) If I have an index built with Empties=NO and then query with that indexed field ="", how does it handle the query? Does it not use the index at all? TIA, Jeff -- Jeffrey Butera, PhD Associate Director for Application and Web Services Information Technology Hampshire College 413-559-5556 _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ________________________________ Dave Davis Team Lead, R&D P: 614-875-4910 x108 F: 614-875-4088 E: dda...@harriscomputer.com [http://www.harriscomputer.com/images/signatures/HarrisSchools.jpg] [http://www.harriscomputer.com/images/signatures/DivisionofHarris.gif]<http://www.harriscomputer.com/> 6110 Enterprise Parkway Grove City, OH 43123 www.harris-schoolsolutions.com<http://www.harris-schoolsolutions.com> This message is intended exclusively for the individual or entity to which it is addressed. This communication may contain information that is proprietary, privileged or confidential or otherwise legally exempt from disclosure. If you are not the named addressee, you are not authorized to read, print, retain, copy or disseminate this message or any part of it. If you have received this message in error, please notify the sender immediately by e-mail and delete all copies of the message. _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users