skip to main content
OpenAccess SDK SQL Engine core methods for .NET : Methods for .NET reference : dam_getGroupByCol
 

dam_getGroupByCol

Use this method to obtain column information about the columns specified as part of the GROUP BY clause.
int dam_getGroupByCol(
int64 hstmt,
int iGroupByColNum,
out int piColNum,
StringBuilder pColName)
 
Table 147: Parameters for dam_getGroupByCol 
Parameter
Type
Description
IN
 
 
hstmt
int64
The statement handle
iGroupByColNum
int
The number of the Group By column to return information about.
Valid numbers:
0 – (Value returned from dam_getInfo (DAM_INFO_GROUP_BY_OPTIMIZABLE) -1)
OUT
 
 
piColNum
int
The column number as defined in the schema database
pColName
StringBuilder
The column name as defined in the schema database
RETURN
 
 
 
int
The status of the call:
DAM_SUCCESS – on success
DAM_FAILURE – wrong value for iGroupByColNum

See also

dam_getInfo