SQL and searching question
lets say i have a field in a database called comments that is anything from NULL to a paragraph. I would assume a CLOB or BLOB would be in order as far as a dataype. My question is how do i perform a query that will search for part of something in a BLOB or CLOB or even a CHAR(20) ?
basically how do i return the entire entry below when im searching based on the word 'Robert':
<begin data>
If I were anyone in the world I would be Robert.
</end data>
BTW, incase its database dependant, the database im using is MySQL
|