My Oracle Support Banner

Name Resolution Finds Local Schema Table Before Schema and Results in PLS-302 (Doc ID 1174526.1)

Last updated on FEBRUARY 12, 2019

Applies to:

PL/SQL - Version 10.2.0.4 to 11.2.0.1 [Release 10.2 to 11.2]
Information in this document applies to any platform.

Symptoms

The following code throws a PLS-302: component 'TAB1' must be declared error because the local schema (USER2) has a table name (USER1) which has the same name as another schema (USER1).

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.