Erik,
Thursday, March 07, 2002, 12:58:26 AM, you wrote:

ES> Trying to figure out how to convert Sybase ASA syntax to MySQL.  Need to
ES> select alpha ranges as in:

ES> SELECT *
ES> FROM table
ES> WHERE name LIKE '[A-Z]%'
ES> but this doesn't work.

You should use REGEXP instead LIKE. REGEXP has more scopes.
You can read about REGEXP and LIKE at:
    http://www.mysql.com/doc/P/a/Pattern_matching.html

ES> Erik Schwartz




-- 
For technical support contracts, goto https://order.mysql.com/
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Victoria Reznichenko
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
       <___/   www.mysql.com




---------------------------------------------------------------------
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