dam_getColByNameAndType
- 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 and type of the current stored procedure. This method is used to get a column of a specific type as defined in the OA_COLUMNTYPE field of OA_PROCCOLUMNS table of the schema database (see Schema definition and management in the OpenAccess SDK Programmer's Guide).
int64 dam_getColByNameAndType(
int64 hstmt,
string wsColName,
int iColType)
Parameters for dam_getColByNameAndType
| Parameter | Type | Description |
| IN | ||
| hstmt | int64 | The statement handle |
| wsColName | string | The name of the column |
| iColType | int | Type of column as defined in the schema.For stored procedures, iColType parameters can be: |
| RETURN | ||
| int64 | The handle to the specified column. 0 is returned if the column does not exist. |