dcsimg
www.webdeveloper.com
Results 1 to 3 of 3

Thread: How to use character list wildcard [abc] in MySQL

  1. #1
    Join Date
    Dec 2008
    Posts
    6

    How to use character list wildcard [abc] in MySQL

    Hello friends,

    Here is my question for you.

    How to use character list wildcard in MySQL.

    Select * from customers where CompanyName LIKE '[abc]%'

    Ref:
    http://w3schools.com/sql/sql_wildcards.asp

    This is not working in MySQL.
    Can u please help me.

    Regards,
    Vinod

  2. #2
    Join Date
    Aug 2005
    Location
    The Garden State
    Posts
    5,634
    that's not standard sql.

    you could use regexp function in mysql to do a similar query.

  3. #3
    Join Date
    Jun 2009
    Location
    NY
    Posts
    96
    Check out MySQL's pattern matching for more info.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles