Update and Delete Rows Using Cursors

If the cursor is updatable, use the update or delete statement to update or delete rows.

SAP ASE determines whether the cursor is updatable by checking the select statement that defines the cursor. You can also explicitly define a cursor as updatable, using the for update clause of the declare cursor statement.

Related concepts
Make Cursors Updatable