pub unsafe extern "system" fn SQLSetPos(
statement_handle: HStmt,
row_number: SetPosIRow,
operation: Operation,
lock_type: Lock
) -> SqlReturn
Expand description
Sets the cursor position in a rowset and allows an application to refresh, update or delete data in the rowset.
See: https://learn.microsoft.com/sql/odbc/reference/syntax/sqlsetpos-function
Parameters
statement_handle
: Statement Handlerow_number
: Position of the row in the rowset on which to perform the operation specified with the Operation argument. Ifrow_number
is 0, the operation applies to every row in the rowset.operation
: Operation to performlock_type
: Specifies how to lock the row after performing the operation specified in the Operation argument.
Returns
SUCCESS
, SUCCESS_WITH_INFO
, NEED_DATA
, STILL_EXECUTING
, ERROR
, or
INVALID_HANDLE
.