skip to main content
OpenAccess SDK SQL Engine core methods for Java : Exchanging data : 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).
long dam_getCol(
     long   hstmt,
     String ColumnName)
Table 163. Parameters for dam_getCol
Parameter
Type
Description
INPUT
hstmt
long
The statement handle.
ColumnName
String
The name of the column.
RETURN
long
The handle to the specified column. 0 is returned if the column does not exist.