SQL Reference

BLOB

>>-BLOB--(--string-expression----+--------------+--)-----------><
                                 '-,--integer---'
 

The schema is SYSIBM.

The BLOB function returns a BLOB representation of a string of any type.

string-expression
A string-expression whose value can be a character string, graphic string, or a binary string.

integer
An integer value specifying the length attribute of the resulting BLOB data type. If integer is not specified, the length attribute of the result is the same as the length of the input, except where the input is graphic. In this case, the length attribute of the result is twice the length of the input.

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.

Examples


[ Top of Page | Previous Page | Next Page ]