skip to main content
OpenAccess SDK SQL Engine Core Functions API : Function Reference : dam_getCol/dam_getColW
 

dam_getCol/dam_getColW

This function returns the column handle for the given column name. The column name is as defined in the OA_COLUMNS table of the schema database (refer to "Schema Definition and Management" in the OpenAccess SDK SQL Engine Programmer's Guide).
DAM_HCOL dam_getCol(
DAM_HSTMT hstmt,
char * pszColumnName)

DAM_HCOL dam_getColW(
DAM_HSTMT hstmt,
OAWCHAR * pszColumnName)
Table 101. Parameters for dam_getCol/dam_getColW
Parameter
Type
Description
IN
hstmt
DAM_HSTMT
The statement handle.
pszColumnName
char *
OAWCHAR *
The name of the column.
RETURN
DAM_HCOL
The handle to specified column. A NULL is returned if the column does not exist.