DB2 Version 9.7 for Linux, UNIX, and Windows

COLUMN_VALUE_BLOB procedure - Return a BLOB column value into a variable

The COLUMN_VALUE_BLOB procedure defines a variable that will receive a BLOB value from a cursor.

Syntax

Read syntax diagramSkip visual syntax diagram
>>-DBMS_SQL.COLUMN_VALUE_BLOB--(--c--,--position--,--value-----><

Parameters

c
An input argument of type INTEGER that specifies the cursor ID of the cursor that is returning data to the variable being defined.
position
An input argument of type INTEGER that specifies the position of the returned data within the cursor. The first value in the cursor is position 1.
value
An output argument of type BLOB(2G) that specifies the variable receiving the data returned by the cursor in a prior fetch call.

Authorization

EXECUTE privilege on the DBMS_SQL module.