My Oracle Support Banner

ORA-904 ON VIRTUAL COLUMN WITH REFERENCES TO RENAMED COLUMN NAME WITH TYPE (Doc ID 1921442.1)

Last updated on FEBRUARY 25, 2019

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.1 to 11.2.0.4 [Release 11.2]
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

After successful Rename of a virtual column all requests on the table SELECT, MODIFY, RENAME, DROP virtual columns receives a ORA-00904

Changes

After successful Rename of a virtual column all requests on the table
SELECT, MODIFY, RENAME, DROP virtual columns receives a ORA-00904. The
virtual column depends on typed columns:

E.g.:

create table t1_test
(
a tr_test,
b tr_test,
s integer generated always as ( a.x + b.x ) virtual
);

If the column "a" is renamed then the virtual column expression is not
automatically updated and the old reference is used, therefore the ORA-904
error.

ORA-904 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.