Edit table values from the Interactive SQL result set

The Edit command allows you to change individual values within a row. You can change any or all of the values within existing rows in database tables. You must have update permission on the columns being modified. When you edit the result set, you can make changes to the values in only ‘one row at a time.

StepsEditing a row in the result set

  1. Select the row to edit

  2. Right-click the result set and choose Edit from the pop-up menu. You can also press F2 to edit the result set.

  3. A blinking cursor appears in the first value in the row.

  4. Press Tab to move the cursor from column to column across the row. You can also edit a value by clicking the value in the selected row.

  5. Enter the new value.

  6. You cannot enter invalid datatypes into a column. For example, you cannot enter a string datatype into a column that is configured for the int datatype.

  7. Execute a commit statement to make your changes to the table permanent.