MySQL - Where - search string - MATCH.

Posted by Jamie on Stack Overflow See other posts from Stack Overflow or by Jamie
Published on 2010-03-31T08:03:04Z Indexed on 2010/03/31 8:13 UTC
Read the original article Hit count: 200

Filed under:
|

Hi guys,

Quick question. I'm in a bit of a rush but if someone could quickly point me in the right direction I would be very very happy.

I have a field in the db, let's call it field_a which returns a string in the format "20,50,60,80" etc.

I wish to do a query which will search in this field to see if 20 exists.

Could I use MySQL MATCH or is there a better way?

Thank you!

© Stack Overflow or respective owner

Related posts about mysql

Related posts about sql