4D v14.1ODBC_SQLNumParams |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v14.1
ODBC_SQLNumParams
|
ODBC_SQLNumParams ( stmtID ; parameterCount ) -> Function result | ||||||||
Parameter | Type | Description | ||||||
stmtID | Longint |
![]() |
Statement ID | |||||
parameterCount | Longint |
![]() |
Number of parameters in the statement | |||||
Function result | Longint |
![]() |
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.
See the example for the ODBC_SQLExecute command.
Product: 4D
Theme: ODBC_Submit requests
Number:
16968
Created: 4D ODBC Pro 2004
4D ODBC Pro ( 4D ODBC Pro v11.4)
4D ODBC Pro ( 4D ODBC Pro v12)
4D ODBC Pro ( 4D v13)
4D ODBC Pro ( 4D v14 R3)
4D ODBC Pro ( 4D v14.1)
4D ODBC Pro ( 4D v14 R2)
4D ODBC Pro ( 4D v14 R4)