Parameter
|
Type
|
Description
|
INPUT
|
||
hstmt
|
long
|
The statement handle.
|
iOrderByColNum
|
int
|
The column number of the ORDER BY column (the column for which information is to be returned).
|
OUTPUT
|
||
piColNum
|
xo_int
|
The column number as defined in the schema database.
|
pColName
|
StringBuffer
|
The column name as defined in the schema database.
|
piSortOrder
|
xo_int
|
The sort order for the column:
SQL_ORDER_ASC - Ascending
SQL_ORDER_DESC - Descending
|
RETURN
|
||
int
|
Status of the call:
DAM_SUCCESS - on success
DAM_FAILURE - wrong value for iOrderByColNum
|