DEFINE_COLUMN_ROWID v16
The DEFINE_COLUMN_ROWID
procedure defines a column of the type ROWID
in the SELECT
list to be returned and retrieved in a cursor.
Note
In EDB Postgres Advanced Server, ROWID
is a domain rather than a bigint.
When you use this procedure the column you are defining is identified by its relative position in the SELECT list of the statement in the specified cursor. The COLUMN value type determines the type of column being defined.
Parameters
c
Cursor ID of the cursor from which a row is selected.
position
Relative position of the column in the row being defined. The first column in a statement has position 1.
column
Value of the column. The type of this value determines the type for the column being defined.
Examples
This example shows how the empno
, ename
, hiredate
, sal
, and comm
columns of the emp
table are defined with the DEFINE_COLUMN_ROWID
procedure.
- On this page
- Parameters