skip to main content
OpenAccess SDK SQL Engine core methods for .NET : Methods for .NET reference : dam_getCol
 

dam_getCol

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 Chapter 5 "Schema definition and management" of 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)
 
Table 126: 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.

See also 

dam_getCol