bradgrafelman wrote:Looks like the DB was designed such that you aren't supposed to use the contents of that column in a query (otherwise it wouldn't be a string of serialized data)
Or maybe it was an attempt at porting the database from a DBMS that supported array types, and it wasn't renormalised.
Searching for serialize("Joe") (i.e., [font=monospace]s:3:"Joe";[/font] (obviously the example data has been anonymised, or it wouldn't say [font=monospace]s:8[/font])) might reduce the (very slight) chance of false positives and may affect the speed of searching one way or another. But whether the search is for [font=monospace]s:3:"Joe";[/font] or [font=monospace]"Joe"[/font], the returned array would still need to be deserialised and the string searched for again.