I am trying to search for text inside a BLOB for an e-mail field with an underscore at e-mail (e.g. my_email@anymailprovider.com), so at a non-BLOB it would like:
select * from TEXT_COLUMN where request_column like '%email%_%';
So, something like that to make it work:
select * from BLOB_COLUMN where dbms_lob.instr(request_column, utl_raw.cast_to_raw('%email%_%'))>0
Of course, the latter is not valid, but this is what I need to do so as to search inside the BLOB.