dam_getGroupByCol
- Last Updated: May 12, 2026
- 1 minute read
- OpenAccess SDK
- Version 9.0
- Documentation
Use this method to obtain column information about the columns specified as part of the GROUP BY clause.
int dam_getGroupByCol(
long hstmt,
int iGroupByColNum,
xo_int piColNum,
StringBuffer pColName)
Parameters for dam_getGroupByCol
| Parameter | Type | Description |
| INPUT | ||
| hstmt | long | 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) |
| OUTPUT | ||
| piColNum | xo_int | The column number as defined in the schema database. |
| pColName | StringBuffer | 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. |
|