Modifies the data at the current location of a cursor.
UPDATE Employees SET surname = 'Jones' WHERE CURRENT OF emp_cursor
This form of the UPDATE statement updates the current row of the specified cursor. The current row is defined to be the last row successfully fetched from the cursor, and the last operation on the cursor cannot have been a positioned DELETE statement.
The requested columns are set to the specified values for the row at the current row of the specified query. The columns must be in the select list of the specified open cursor.
Changes effected by positioned UPDATE statements are visible in the cursor result set, except where client-side caching prevents seeing these changes. Rows that are updated so that they no longer meet the requirements of the WHERE clause of the open cursor are still visible.
Since SAP Sybase IQ does not support the CREATE VIEW... WITH CHECK OPTION, positioned UPDATE does not support this option. The WITH CHECK OPTION clause does not allow an update that creates a row that is not visible by the view.
A rowid column cannot be updated by a positioned UPDATE.
SAP Sybase IQ supports repeatedly updating the same row in the result set.