User Tools

Site Tools


indatabasearchiving

This is an old revision of the document!


In Database Archiving

Enabling

Can be enabled with CREATE or ALTER TABLE commands …

CREATE TABLE employees (
  id          NUMBER,
  description VARCHAR2(20)
) ROW ARCHIVAL;

ALTER TABLE employees ROW ARCHIVAL;

Disabling

ALTER TABLE employees NO ROW ARCHIVAL;

This will create a hidden column called ORA_ARCHIVE_STATE.
By default this column will have a value of 0 for each row.
You can now use update statements to alter the value of this column.

indatabasearchiving.1437561662.txt.gz · Last modified: 2025/03/08 22:23 (external edit)