CODBCStmt.GetStmtParamsetSizemethod
Gets an SQLUINTEGER value that specifies the number of values for each parameter.
Syntax
FUNCTION GetStmtParamsetSize () AS SQLUINTEGER
Return value
The number of values for each parameter.
Result code (GetLastResult)
SQL_SUCCESS, SQL_SUCCESS_WITH_INFO, SQL_ERROR, or SQL_INVALID_HANDLE.
Description
Gets an SQLUINTEGER value that specifies the number of values for each parameter.
Remarks
If SQL_ATTR_PARAMSET_SIZE is greater than 1, SQL_DESC_DATA_PTR, SQL_DESC_INDICATOR_PTR, and SQL_DESC_OCTET_LENGTH_PTR of the APD point to arrays. The cardinality of each array is equal to the value of this field.
Setting this statement attribute sets the SQL_DESC_ARRAY_SIZE field in the APD header.
Reference
- Include file
CODBCStmt.inc - Defined in AfxNova/COdbcStmt.inc:1776
- Documented in Databases/ODBC Classes/CODBCStmt Class.md
- Topic: CODBCStmt Class