4D v16

ODBC_SQLNumParams

Página Inicial

 
4D v16
ODBC_SQLNumParams

ODBC_SQLNumParams 


 

ODBC_SQLNumParams ( stmtID ; parameterCount ) -> Resultado 
Parâmetro Tipo   Descrição
stmtID  Inteiro longo in Statement ID
parameterCount  Inteiro longo in Number of parameters in the statement
Resultado  Inteiro longo in Returns the result of the MS ODBC API function SQLNumParams

The ODBC_SQLNumParams command returns the number of parameters in an SQL statement.

stmtID is a valid statement ID returned by ODBC_SQLAllocStmt.

parameterCount is the number of parameters in the statement specified by stmtID.

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

SQL_SUCCESS, SQL_SUCCESS_WITH_INFO, SQL_STILL_EXECUTING, SQL_ERROR, or SQL_INVALID_HANDLE.

Exemplo  

See the example for the ODBC_SQLExecute command.



Ver também 

ODBC_SQLBindParameter

 
PROPRIEDADES 

Produto: 4D
Tema: ODBC_Submit requests
Número 16968

 
HISTÓRIA 

Criado por: 4D ODBC Pro 2004

 
ARTICLE USAGE

4D ODBC Pro ( 4D v16)