My Oracle Support Banner

Datapump Import of a Table with a Column Using Function Returns ORA-0942 / ORA-0904 with Remap_schema (Doc ID 1542196.1)

Last updated on MARCH 24, 2023

Applies to:

Oracle Database Cloud Service - Version N/A and later
Oracle Database - Enterprise Edition - Version 10.1.0.2 and later
Oracle Database Cloud Schema 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
Information in this document applies to any platform.
NOTE: In the document content below, the user information and data used represents fictitious data. Any similarity to actual persons, living or dead, is purely coincidental and not intended in any manner.

Symptoms

We may get ORA-00904 / ORA-942 errors while importing a table using virtual column through remap_schema.

TESTCASE


Please note that this is applicable to any function based index with user defined function also regardless of the presence of any virtual column or any function call from table. That means if we are just using function based index with user defined function and are trying to migrate to other schema using remap_schema, then we may be hitting same issue.  Granting execute to target user for the function being used in functional index will workaround this issue.

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
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.