My Oracle Support Banner

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

Last updated on AUGUST 04, 2018

Applies to:

Oracle Database - Enterprise Edition - Version to [Release 12.1]
Microsoft Windows x64 (64-bit)


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 :



 Upgraded the database to


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

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

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