Ispirer Website
Ispirer Toolkit Overview
Free Trial
ODBC - SQLStatistics Function
ODBC - SQLStatistics | |
---|---|
Syntax | SQLRETURN SQLStatistics( SQLHSTMT StatementHandle, SQLCHAR* CatalogName, SQLSMALLINT NameLength1, SQLCHAR* SchemaName, SQLSMALLINT NameLength2, SQLCHAR* TableName, SQLSMALLINT NameLength3, SQLUSMALLINT Unique, SQLUSMALLINT Reserved); |
Description | Retrieves a list of statistics about a single table and the indexes associated with the table. The driver returns the information as a result set. |
Returns | SQL_SUCCESS, SQL_SUCCESS_WITH_INFO, SQL_STILL_EXECUTING, SQL_ERROR, or SQL_INVALID_HANDLE |