4D v16

ODBC_SQLRowCount

Accueil

 
4D v16
ODBC_SQLRowCount

ODBC_SQLRowCount 


 

ODBC_SQLRowCount ( stmtID ; rowCount ) -> Résultat 
Paramètre Type   Description
stmtID  Entier long in Statement ID
rowCount  Entier long in Number of rows affected by the request
Résultat  Entier long in Returns the result of the MS ODBC API function SQLRowCount

The ODBC_SQLRowCount command returns the number of rows affected by an UPDATE, INSERT, or DELETE statement; an SQL_ADD, SQL_UPDATE_BY_BOOKMARK, or SQL_DELETE_BY_BOOKMARK operation in ODBC_SQLBulkOperations; or an SQL_UPDATE or SQL_DELETE operation in ODBC_SQLSetPos.

stmtID is a valid statement ID returned by ODBC_SQLAllocStmt.

rowCount is the number of rows affected by the result set.

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

SQL_SUCCESS, SQL_SUCCESS_WITH_INFO, SQL_ERROR, or SQL_INVALID_HANDLE.

Exemple  

See the example for the ODBC_SQLBulkOperations command.



Voir aussi  

ODBC_SQLBulkOperations
ODBC_SQLSetPos

 
PROPRIÉTÉS 

Produit : 4D
Thème : ODBC_Results
Numéro : 16951
Nom intl. : ODBC_SQLRowCount

 
HISTORIQUE 

Créé : 4D ODBC Pro 2004

 
UTILISATION DE L'ARTICLE

4D ODBC Pro ( 4D v16)