skip to main content
SQL Engine parse tree methods for Java : damex_describeOrderByExp
 

damex_describeOrderByExp

This method gets the description of the ORDER BY expression. Pass in NULL for any attributes you do not want.
int damex_describeOrderByexp(
    long   hValExp,
    xo_int piResultColNum,
    xo_int piSortOrder)
Table 260. Parameters for damex_describeOrderByExp
Parameter
Type
Description
INPUT
hValExp
long
The ORDER BY value expression handle.
OUTPUT
piResultColNum
xo_int
The result column number.
piSortOrder
xo_int
The sort order of the ORDER BY column:SQL_ORDER_ASCSQL_ORDER_DESC
RETURN
int
DAM_SUCCESS - on success
DAM_FAILURE - on failure