DB Library for C
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 Microsoft® SQL Server™ data type for a regular result column. |
dbcolutype | Returns the user-defined data type 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 result set. |