CODBCStmt.SetStmtParamsetSizemethod
Sets an SQLUINTEGER value that specifies the number of values for each parameter.
Syntax
FUNCTION SetStmtParamsetSize (dwAttr AS DWORD) AS SQLRETURN
Parameters
| Name | Description | |
|---|---|---|
dwAttr | Value of the attribute. |
Return value
SQL_SUCCESS, SQL_SUCCESS_WITH_INFO, SQL_ERROR, or SQL_INVALID_HANDLE.
Description
Sets 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:1783
- Documented in Databases/ODBC Classes/CODBCStmt Class.md
- Topic: CODBCStmt Class