skip to main content
SQL Engine parse tree methods for .NET : SQL pass-through and advanced query methods reference : 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(
int64 hValExp,
out int piResultColNum,
out int piSortOrder)
 
Table 216: Parameters for damex_describeOrderByExp 
Parameter
Type
Description
IN
 
 
hValExp
int
The ORDER BY value expression handle.
OUT
 
 
piResultColNum
int
The result column number
piSortOrder
int
The sort order of the ORDER BY column:
SQL_ORDER_ASC
SQL_ORDER_DESC
RETURN
 
 
 
int
DAM_SUCCESS – on success
DAM_FAILURE – on failure