Parameter
|
Type
|
Description
|
INPUT
|
|
|
iColumn
|
int
|
Column number – first column starts at 0. |
OUTPUT
|
|
|
iXODataType
|
xo_int
|
Data type of the column. This information describes how the value of this column will be returned when get_colval is called. See Table 64 for data type definitions.
|
pbNullalble
|
xo_int
|
Whether the column can have null values.
When set to 1, the column can have null values.
When set to 0, the column cannot have null values.
|
pColName
|
StringBuffer
|
Allocate a buffer, fill it with the column name, and return the pointer to this buffer. This buffer is used by the calling method.
|
piLen
|
xo_int
|
Maximum length of the data in this column. Leave null for other types.
CHAR and VARCHAR – maximum length of the string
NUMERIC – precision + 2
|
piPrecision
|
xo_int
|
Number of digits of mantissa precision.
NUMERIC - Number of digits
CHAR and VARCHAR - set to same as piLen
INTEGER=10, SMALLINT=5, DOUBLE=15, REAL=7,FLOAT=15
DATE=10, TIME=8, TIMESTAMP=19
|
piScale
|
xo_int
|
Total number of significant digits to the right of the decimal point. Only required for NUMERIC types. |
RETURN
|
|
|
|
int
|
OADS_SUCCESS
OADS_ERROR
|