4D v16

ODBC_SQLStatistics

Accueil

 
4D v16
ODBC_SQLStatistics

ODBC_SQLStatistics 


 

ODBC_SQLStatistics ( stmtID ; catalogName ; schemaName ; tableName ; unique ; reserved ) -> Résultat 
Paramètre Type   Description
stmtID  Entier long in Statement ID
catalogName  Chaîne in Catalog name
schemaName  Chaîne in Schema name
tableName  Chaîne in Table name
unique  Entier long in Type of index
reserved  Entier long in Indicates the importance of the CARDINALITY and PAGES columns
Résultat  Entier long in Returns the result of the MS ODBC API function SQLStatistics

The ODBC_SQLStatistics command retrieves a list of statistics about a single table and the indexes associated with the table.

stmtID is a valid statement ID returned by ODBC_SQLAllocStmt.

catalogName is the catalog name.

schemaName is the schema name.

tableName is the table name.

unique indicates the type of index and can have one of the following values: SQL_INDEX_UNIQUE or SQL_INDEX_ALL.

reserved indicates the importance of the CARDINALITY and PAGES columns.

For more information, please see the SQLStatistics function in the MS ODBC API Reference at http://msdn.microsoft.com/en-us/library/ms711022(VS.85).aspx.

SQL_SUCCESS, SQL_SUCCESS_WITH_INFO, SQL_STILL_EXECUTING, SQL_ERROR, or SQL_INVALID_HANDLE.

 
PROPRIÉTÉS 

Produit : 4D
Thème : ODBC_Catalog functions
Numéro : 16939
Nom intl. : ODBC_SQLStatistics

 
HISTORIQUE 

Créé : 4D ODBC Pro 2004

 
UTILISATION DE L'ARTICLE

4D ODBC Pro ( 4D v16)