Download Informix CLI Programmer`s Manual, Version 2.5

Transcript
SQLDescribeCol
Type
Argument
Use
Description
UDWORD FAR *
pcbColDef
Output
The precision of the column on
the data source. If the precision
cannot be determined, the driver
returns 0. For more information
on precision, see “Precision,
Scale, Length, and Display Size”
on page C-8.
SWORD FAR *
pibScale
Output
The scale of the column on the
data source. If the scale cannot be
determined or is not applicable,
the driver returns 0. For more
information on scale, see
“Precision, Scale, Length, and
Display Size” on page C-8.
SWORD FAR *
pfNullable
Output
Indicates whether the column
allows one of the following
values:
SQL_NO_NULLS: The column
does not allow NULL values.
SQL_NULLABLE: The column
allows NULL values.
SQL_NULLABLE_UNKNOWN:
The driver cannot determine if
the column allows NULL values.
(3 of 3)
Return Codes
SQL_SUCCESS, SQL_SUCCESS_WITH_INFO, SQL_STILL_EXECUTING,
SQL_ERROR, or SQL_INVALID_HANDLE
INFORMIX-CLI Function Reference 13-87