DB2 Version 9.7 for Linux, UNIX, and Windows

DEFINE_COLUMN_LONG procedure - Define a LONG column in the SELECT list

The DEFINE_COLUMN_LONG procedure defines a LONG column or expression in the SELECT list that is to be returned and retrieved in a cursor.

Syntax

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

Parameters

c
An input argument of type INTEGER that specifies the cursor handle associated with the SELECT command.
position
An input argument of type INTEGER that specifies the position of the column or expression in the SELECT list that is being defined.

Authorization

EXECUTE privilege on the DBMS_SQL module.