damex_getFirstCol
- Last Updated: May 12, 2026
- 1 minute read
- OpenAccess SDK
- Version 9.0
- Documentation
This function is used to navigate through the columns that appear in the SELECT, UPDATE and WHERE clause of the SQL query or through the columns in the schema definition of the table. Call this function with the column types to be navigated and then use the damex_getNextCol function to step through the list.
DAM_HCOL damex_getFirstCol(
DAM_HTABLE hTable,
int iColType);
Parameters for damex_getFirstCol
| Parameter | Type | Description |
| IN | ||
| hTable | DAM_HTABLE | The table handle. |
| iColType | int | Identifies the column list to navigate. Use a bitwise OR ( | ) of the following flags to scan through columns that are in multiple categories: |
| RETURN | ||
| DAM_HCOL | The handle to the first column that has the attributes of iColType. A NULL otherwise. |