Search for value within BLOB column in MySQL
How can I search inside Blob column in MySQL for some value开发者_如何转开发s ? and Is that possible ?
You should be able to search blobs like other text fields:
SELECT *
FROM tablename
WHERE blob_field_name LIKE '%value%'
One thing to notice is that search will be case-sensitive!
Anyway, if possible, it's better to use a TEXT
field.
精彩评论