Regular Result Column Information

These functions can be called after dbresults returns SUCCEED.

Function Description
dbcollen Returns the maximum length of a regular column's data.
dbcolname Returns the name of a regular result column.
dbcoltype Returns the SQL Server datatype for a regular result column.
dbcolutype Returns the user-defined datatype for a regular result column.
dbdatlen Returns the actual length of a regular column's data. This function is often used together with dbdata. The value returned by dbdatlen can differ for each regular row read by dbnextrow.
dbnumcols Determines the number of columns in the current results set.