SQLStatistics

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
SQLStatistics
(,
SQLCHAR* CatalogName
,
SQLSMALLINT NameLength1
,
SQLCHAR* SchemaName
,
SQLSMALLINT NameLength2
,
SQLCHAR* TableName
,
SQLSMALLINT NameLength3
,
SQLUSMALLINT Unique
,
SQLUSMALLINT Reserved
)

Meta