Scalar. Converts a given string to a BLOB value.
Return
value
BLOB
String
Blob
The following example returns a BLOB based on the input string:
INSERT INTO OutStream SELECT TO_BLOB('0123456789abcdef') -- BLOB of 8 bytes FROM ImageData;