MySQL Forums
Forum List  »  Optimizer & Parser

Re: Want ORDER BY to use indexed portion of long text field
Posted by: Chris Schneider
Date: October 24, 2007 03:06PM

Not sure if this will work but give it a try and let me know.

order by CAST(substring(txt, 1,40) as CHAR) asc limit 40;

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Want ORDER BY to use indexed portion of long text field
2890
October 24, 2007 03:06PM


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.