I have a mysql table in which there is a column that stores xml as a string. I need to find all the tuples where the xml column contains the given 6 character string. Nothing else matters - all I need to know is if this 6-character string is there or not.
So it probably doesn't matter that the text is formatted as xml.
Question: how can I search in mysql? those. SELECT * FROM items WHERE items.xml [contains the text '123456']
Can this LIKE statement be used?
mysql search sql-like
user94154 Mar 26 '10 at 21:10 2010-03-26 21:10
source share