SQLPutData
Function
Sends the actual data of a parameter (or column) to the server in batches during SQL statement execution.
Prototype
c
SQLRETURN SQLPutData(SQLHSTMT StatementHandle,
SQLPOINTER *DataPtr,
SQLLEN StrLen_or_Ind);Parameters
Table 1 SQLPutData parameters
Pointer to the buffer containing the actual data of the parameter. | |
Length of *DataPtr. For character or binary data, it indicates the number of bytes sent. |
Return Values
SQL_SUCCESS: The call is successful.
SQL_SUCCESS_WITH_INFO: Some warning information is present.
SQL_ERROR: Batch sending data failed.
SQL_INVALID_HANDLE: The input handle is invalid.
Example
See: Example