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:
• SQL_PARAM_INPUT
• SQL_RESULT_COL
• SQL_PARAM_OUTPUT
• SQL_RETURN_VALUE.
For tables, iColType parameters can be:
• DAM_COL_IN_SCHEMA
• DAM_COL_IN_RESULT
• DAM_COL_IN_CONDITION
• DAM_COL_IN_USE
• DAM_COL_IN_OUTPUT
|
RETURN
|
|
|
|
int64
|
The handle to the specified column. 0 is returned if the column does not exist.
|