My Oracle Support Banner

Datapatch fail with PLS-00201: identifier 'ORA_DATABASE_NAME' must be declared (Doc ID 2479981.1)

Last updated on JANUARY 08, 2020

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.2 and later
Information in this document applies to any platform.

Symptoms

Datapatch Execution fails with below errors

Patch 27547374 apply: WITH ERRORS
logfile: /u01/oracle/cfgtoollogs/sqlpatch/27547374/22327650/27547374_apply_APPSUP_2018Nov21_16_51_46.log (errors)
Error at line 27538: Warning: Package Body created with compilation errors.
Error at line 29299: Warning: Package Body created with compilation errors.
Error at line 29306: 56/7 PL/SQL: Statement ignored
Error at line 29307: 59/42 PLS-00201: identifier 'ORA_DATABASE_NAME' must be declared

 

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


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