SQLDescribeCol

Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
extern (Windows)
SQLRETURN
SQLDescribeCol
(,
SQLUSMALLINT ColumnNumber
,
SQLCHAR* ColumnName
,
SQLSMALLINT BufferLength
,
SQLSMALLINT* NameLength
,
SQLSMALLINT* DataType
,
SQLUINTEGER* ColumnSize
,
SQLSMALLINT* DecimalDigits
,
SQLSMALLINT* Nullable
)

Meta