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

dam_getColByNum

This method returns the column handle for the given column number in schema. The column number is based on the order in which columns are defined in the OA_COLUMNS table of the schema database (see Chapter 5 "Schema definition and management" of the DataDirect OpenAccess SDK SQL Engine Programmer’s Guide). The column numbers start from 0.
int64 dam_getColByNum(
int64 hstmt,
int iColumn);
 
Table 128: Parameters for dam_getColByNum 
Parameter
Type
Description
IN
 
 
hstmt
int64
The statement handle
iColumn
int
The column number in the schema. Numbers start from 0.
RETURN
 
 
 
int64
The handle to the specified column. 0 is returned if the column does not exist.