Hi,
Supposing I have the following column definition:
level ENUM('bad', 'good', 'great') NOT NULL
I would like to be able to do:
SELECT * FROM foo WHERE level >= 'good'
Yet this doesn't work (MySQL v 3.23.38). I have to use
level >= 2 instead.
Shouldn't a numeric context be applied by the server in this case? eg,
replacing the label 'good' by 2, instead of doing a string sort.
Thanks,
--
Adriano
---------------------------------------------------------------------
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