Oracle Database 26ai will be available on generic Linux platforms in January and soon on AIX and Windows
Purpose
Utilities to enhance working with databases making use of Edition Based Redefinition.
AUTHID
CURRENT_USER
Constants
Name
Data Type
Value
Edition Relationship Constants
IDENTICAL
INTEGER
0
ANCESTOR
INTEGER
1
DESCENDENT
INTEGER
2
UNRELATED
INTEGER
3
Dependencies
SELECT name FROM dba_dependencies WHERE referenced_name = 'DBMS_EDITIONS_UTILITIES' UNION
SELECT referenced_name FROM dba_dependencies WHERE name = 'DBMS_EDITIONS_UTILITIES
ORDER BY 1;
Replaces null values in a replacement column with the value of an expression. The expression evaluation cost is deferred to future updates and queries.
dbms_editions_utilities.set_null_column_values_to_expr(
table_name IN VARCHAR2,
column_name IN VARCHAR2,
expression IN VARCHAR2);
conn sys@pdbdev as sysdba
ALTER USER uwclass ENABLE EDITIONS;
conn uwclass/uwclass@pdbdev
CREATE TABLE test_t (
sal NUMBER,
comm NUMBER,
tot_comp NUMBER);
CREATE OR REPLACE EDITIONING VIEW test AS
SELECT * FROM test_t;
INSERT INTO test (sal, comm) VALUES (1, 1);
INSERT INTO test (sal, comm) VALUES (2, 2);
INSERT INTO test (sal, comm) VALUES (3, 3);
COMMIT;