My Oracle Support Banner

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

Last updated on OCTOBER 07, 2022

Applies to:

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


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


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

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