Change Manager

When the Data Window is in the Edit Mode, the Change Manager tracks all the changes that are made to an object. An object can be a table, view, synonym, or an alias. Every change that is made to an object is recorded in a change record. The recorded changes are displayed in a table, in the Change Manager window.

The table contains four columns, Object Name, Column, Original Value, and Modified Value. The Object Name column displays the name of the modified object and row number (Row Key) of the modified row in the object.

The changes that are made to an object are applied only when you commit the changes. You can commit or roll back the changes immediately after you modify an object. You can also commit or roll back all the modifications of an object at a time from the Data Window. When a change record is committed for the selected row, all the changes for that row are committed at a time. When a change record is rolled back for the selected row, all the changes for that row are discarded at a time.

If a row is modified, the status of the corresponding Change Record is PENDING. If a new row is added, the status of the corresponding Change Record is INSERT. After a successful commit or rollback of a change record, the change record entry is removed from the Change Manger Window. If the commit for a change record fails, the status of the change record is FAILED.

When you right-click on a change-record row from the Change Manager window, you can commit or roll back the change of an object.