> This is because with the first query it can use the index.  With
> the second query, it has to check the whole table.  Why?  Because
> obviously you're using numbers.  And let's make some_value == 10.

I thought that maybe MySQL should check the field type and do the conversion
to string.




---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to