Determines whether the specified data in a regular result column can vary in length.
BOOL dbvarylen (
PDBPROCESS dbproc,
INT column );
TRUE or FALSE, indicating whether or not the column’s data can vary in length. dbvarylen also returns FALSE if the column number is out of range.
This function returns TRUE if:
Use dbvarylen especially with programs that handle ad hoc queries and that need to be alerted to possible null data or data of variable length. Call dbvarylen only after dbresults returns SUCCEED.
To get a column’s data type, execute dbcoltype.
dbcollen | dbdatlen |
dbcolname | DB-Library for C Data Types |
dbcoltype | dbnumcols |
dbdata | dbprtype |