Exposing Metadata
The
The
The provider returns the information in an array of DBCOLUMNINFO structures, one DBCOLUMNINFO structure per column in the rowset. The order of the structures returned in the array is the order in which the columns appear in the rowset.
IColumnsInfo
Columns that have an ODBC SQL type of SQL_LONGVARCHAR or SQL_LONGVARBINARY are returned as type DBTYPE_BYTES or DBTYPE_STR, and the DBCOLUMNFLAG_ISLONG is set in the dwFlags element of the DBCOLUMNINFO structure.
Returning Column Ordinals
Columns in a rowset are identified by a column ID, which is a value of type DBID in the DBCOLUMNINFO structure.
The
Referenced by...