My Oracle Support Banner

INSERT-SELECT Statement on a Table With Virtual Columns Fails With ORA-6502 in 12.1.0.1 When Table has a Trigger Enabled. (Doc ID 1669515.1)

Last updated on APRIL 08, 2025

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.1 to 12.1.0.1 [Release 12.1]
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Microsoft Windows x64 (64-bit)

Symptoms

Trying to execute INSERT statement having a SELECT clause on Microsoft Windows database fails with ORA-06502 error whenever

a. Table has a Virtual column  and

b. Table has a DML trigger.

 

Sample Code :

 

Changes

 Upgraded the database to 12.1.0.1

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.