dam_getColByNum
- Last Updated: May 12, 2026
- 1 minute read
- OpenAccess SDK
- Version 8.1
- Documentation
This method returns the column handle for the given column number in schema. The column number is based on the order in which columns are defined in the OA_COLUMNS table of the schema database (see Schema Definition and Management of the OpenAccess SDK Programmer's Guide). The column numbers start from 0.
long dam_getColByNum(
long hstmt,
int iColumn)
Parameters for dam_getColByNum
| Parameter | Type | Description |
| INPUT | ||
| hstmt | long | The statement handle. |
| iColumn | int | The column number in the schema, starting with 0. |
| RETURN | ||
| long | The handle to the specified column. A 0 is returned if the column does not exist. | |