MySQL Forums
Forum List  »  Optimizer & Parser

Re: Problem using LIKE with FORCE INDEX...
Posted by: Marek Podmaka
Date: March 12, 2008 09:40AM

Yes... But that would also help only in queries LIKE '%abc' (no wildcard in the end). You can store the textfield normally and also add another field which will store the reverse and create index on it. One example is storing domain names (hostnames) and be able to search/group by coutry (e.g. '%.com')

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Problem using LIKE with FORCE INDEX...
3448
March 12, 2008 09:40AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.