From Interactive SQL you can change any or all the values within existing rows in database tables if you:
have UPDATE permission on the columns being modified. In addition, for SQL Anywhere and UltraLite databases, table editing must not be disabled.
When you edit the result set, you can only make changes to the values in one row at a time.
Execute a query in Interactive SQL.
On the Results tab, click the value you want to change.
Right-click the value and choose Edit Row, or press F2.
A ... button appears in the table cell containing the value.
Click ... and choose one of the following options:
Edit In Window Opens a window in which you can type in a new value (applies only to character data fields).
Set To NULL Sets the cell value to NULL. If the column is not nullable, this menu item does not appear.
Set To DEFAULT Sets the cell value to DEFAULT. This menu item appears when adding a new row to a table, and only if the column has defined a default value.
Load From File Opens a file browser for you to enter a file name, then loads the contents of the cell from the file.
Enter the new value. If you want to change other values in the row, press Tab or Shift+Tab to move to the other values.
Press Enter to update the database once you are done editing values in the row.
You can press the Esc key to cancel the change that was made to the selected value.
Execute a COMMIT statement to make your changes to the table permanent. For example press CTRL+SHIFT+C.
Discuss this page in DocCommentXchange.
|Copyright © 2010, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.0|