dam_getCol
- Last Updated: May 12, 2026
- 1 minute read
- OpenAccess SDK
- Version 8.1
- Documentation
This method returns the column handle for the given column name. The column name is as defined in the OA_COLUMNS table of the schema database (see Schema definition and management in the OpenAccess SDK SQL Engine Programmer’s Guide).
To write the fastest IP, this method dam_getCol should be performed once and the column handles saved and reused as more rows of data are formed.
int64 dam_getCol(
int64 hstmt,
string ColumnName)
Parameters for dam_getCol
| Parameter | Type | Description |
| IN | ||
| hstmt | int64 | The statement handle |
| ColumnName | string | The name of the column |
| RETURN | ||
| int64 | The handle to the specified column. 0 is returned if the column does not exist. |