My Oracle Support Banner

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

Last updated on JUNE 20, 2022

Applies to:

PL/SQL - Version and later
Information in this document applies to any platform.


 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:





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.