Re: COMPARE WITH INNODB QUERY CHANGE
Hi.
The SQL standard does not guarantee a certain order of rows without ORDER BY. It may woork in some situations. But if you delete rows and enter new ones, the sort order is broken.
I am not a query expert. But I guess that ORDER BY length(code) might help.
An index on 'order' might also be helpful. But I don't know if it can be used with the instr function.
This question does not really target at memory tables.I suggest to ask in the "General" forum.
Regards
Ingo
Ingo Strüwing, Senior Software Developer - Storage Engines
MySQL AB, www.mysql.com
Subject
Views
Written By
Posted
5822
February 17, 2007 03:34AM
Re: COMPARE WITH INNODB QUERY CHANGE
3920
March 14, 2007 03:12PM
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.