Oracle9i Supplied PL/SQL Packages and Types Reference Release 1 (9.0.1) Part Number A89852-02 |
|
DBMS_WM , 48 of 52
This procedure enables the VIEW_WO_OVERWRITE
history option that had been disabled by the SetWoOverwriteOFF Procedure.
DBMS_WM.SetWoOverwriteON();
This procedure affects the recording of history information in the views named <table_name>_HIST by changing the VIEW_W_OVERWRITE
option to VIEW_WO_OVERWRITE
(without overwrite). That is, from this point forward, the views show all modifications to the same version of the table. A history of modifications to the version is maintained; that is, subsequent changes to a row in the same version do not overwrite earlier changes.
This procedure affects only tables that were affected by a previous call to the SetWoOverwriteOFF Procedure.
The <table_name>_HIST views are described in Oracle9i Application Developer's Guide - Workspace Manager. The VIEW_WO_OVERWRITE
and VIEW_W_OVERWRITE
options are further described in the description of the EnableVersioning Procedure.
The VIEW_WO_OVERWRITE
history option can be overridden when a workspace is compressed by specifying the compress_view_wo_overwrite
parameter as TRUE
with the CompressWorkspace Procedure or CompressWorkspaceTree Procedure.
The history option affects the behavior of the GotoDate Procedure. See the Usage Notes for that procedure.
To reverse the effect of this procedure, use the SetWoOverwriteOFF Procedure.
The following example enables the VIEW_WO_OVERWRITE
history option.
EXECUTE DBMS_WM.SetWoOverwriteON;
|
Copyright © 1996-2001, Oracle Corporation. All Rights Reserved. |
|