DB2 Scalar functions - BLOB
The BLOB function returns a BLOB representation of a string of any type.
The schema is SYSIBM.
The result of the function is a BLOB. If the argument can be null, the result can be null; if the argument is null, the result is the null value.
Given a table with a BLOB column named TOPOGRAPHIC_MAP and a VARCHAR column named MAP_NAME, locate any maps that contain the string 'Pellow Island' and return a single binary string with the map name concatenated in front of the actual map.
SELECT BLOB(MAP_NAME CONCAT ': ') CONCAT TOPOGRAPHIC_MAP FROM ONTARIO_SERIES_4 WHERE TOPOGRAPHIC_MAP LIKE BLOB('%Pellow Island%')