4D v16

ODBC_SQLExecDirect

Accueil

 
4D v16
ODBC_SQLExecDirect

ODBC_SQLExecDirect 


 

ODBC_SQLExecDirect ( stmtID ; stmtText ) -> Résultat 
Paramètre Type   Description
stmtID  Entier long in Statement ID
stmtText  Texte in SQL statement to be executed
Résultat  Entier long in Returns the result of the MS ODBC API function SQLExecDirect

The ODBC_SQLExecDirect command executes a preparable statement, using the current values of the parameter marker variables if any parameters exist in the statement.

stmtID is a valid statement ID returned by ODBC_SQLAllocStmt.

stmtText is an SQL statement to be executed.

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

SQL_SUCCESS, SQL_SUCCESS_WITH_INFO, SQL_NEED_DATA, SQL_STILL_EXECUTING, SQL_ERROR, SQL_NO_DATA, or SQL_INVALID_HANDLE.

Exemple  

See the example for the ODBC_SQLGetCursorName command.



Voir aussi  

ODBC_SQLGetCursorName
ODBC_SQLSetCursorName

 
PROPRIÉTÉS 

Produit : 4D
Thème : ODBC_Submit requests
Numéro : 16971
Nom intl. : ODBC_SQLExecDirect

 
HISTORIQUE 

Créé : 4D ODBC Pro 2004

 
UTILISATION DE L'ARTICLE

4D ODBC Pro ( 4D v16)