ORA-19257: XQ0037 - function or variable string in module already defined

Cause : A moduel beingi mporte dcontaiend the ufnctiono r varibale tha tis alraedy decalred int he staitc contxet of teh imporitng modlue.

Action - How to fix it : DBA Scripts :: www.high-oracle.com/scripts

Removet he conlfictingd eclaraitons.

update : 23-05-2017
ORA-19257

ORA-19257 - XQ0037 - function or variable string in module already defined
ORA-19257 - XQ0037 - function or variable string in module already defined

  • ora-30511 : invalid DDL operation in system triggers
  • ora-15000 : command disallowed by current instance type
  • ora-14457 : disallowed Nested Table column in a Temporary table
  • ora-00153 : internal error in XA library
  • ora-01610 : recovery using the BACKUP CONTROLFILE option must be done
  • ora-00166 : remote/local nesting level is too deep
  • ora-01078 : failure in processing system parameters
  • ora-31635 : unable to establish job resource synchronization
  • ora-25959 : join index must be of the bitmap type
  • ora-31477 : could not detach LogMiner session during cleanup
  • ora-19038 : Invalid opertions on query context
  • ora-33282 : (DBERR11) Cannot wait for analytic workspace string to become available since doing so would cause a deadlock.
  • ora-39769 : finish is not allowed with an incompletely loaded last row
  • ora-16218 : This database is already preparing to switch over.
  • ora-14028 : missing AT or VALUES keyword
  • ora-32057 : invalid lock mode
  • ora-01761 : DML operation does not map to a unique table in the join
  • ora-27213 : failed to unload Media Management Library
  • ora-14255 : table is not partitioned by Range, Composite Range or List method
  • ora-02088 : distributed database option not installed
  • ora-22929 : invalid or missing directory name
  • ora-01629 : max # extents (string) reached saving undo for tablespace string
  • ora-01955 : DEFAULT ROLE 'string' not granted to user
  • ora-13376 : invalid type name specified for layer_gtype parameter
  • ora-19272 : XQ0052 - invalid atomic value in attribute or element constructor
  • ora-16554 : translation not valid
  • ora-19656 : cannot backup, copy, or delete online log string
  • ora-01953 : command no longer valid, see ALTER USER
  • ora-16185 : REMOTE_ARCHIVE_ENABLE and LOG_ARCHIVE_CONFIG mutually exclusive
  • ora-08449 : invalid numeric symbol found in picture mask
  • Oracle Database Error Messages



    Oracle Database High Availability Any organization evaluating a database solution for enterprise data must also evaluate the High Availability (HA) capabilities of the database. Data is one of the most critical business assets of an organization. If this data is not available and/or not protected, companies may stand to lose millions of dollars in business downtime as well as negative publicity. Building a highly available data infrastructure is critical to the success of all organizations in today's fast moving economy.

    Well, the reason for above error is that i have taken the above script from a 11g database and running it on 10g database. 11g has bring some changes in password management. Below code is executed on 11g and user created successfully, which is expected result.