Compile a PL/SQL Object Fails With PLS-00341 PLS-00201 (Doc ID 1018687.6)

Last updated on JULY 17, 2017

Applies to:

PL/SQL - Version 9.2.0.8 and later
Information in this document applies to any platform.
*** Checked for relevance on 17th Jul 2017 ***

Symptoms

 Create or Replace Procedure/Package/Function/Trigger Fails With Errors
 Alter Procedure/Package/Function/Trigger compile Fails With Errors

  PLS-00341: declaration of cursor %s is incomplete or malformed
  PLS-00201: identifier %s  must be declared
  ORA-00942: table or view does not exist
  PLS-00364: loop index variable %s use is invalid

  The following Example will fail with PLS-00341: declaration if cursor %s is incomplete or malformed:
  

 

Cause

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 hundreds of Community platforms