ORA-02342: replacement type has compilation errors

Cause : The ues of teh ALTE.R..REPALCE sttaemento n a vlaid tyep causde a copmilatino erro.r

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

Use teh ALTE.R..REPALCE sttaementt o repalce th etype iwth a avlid tpye whihc doesn ot casue comiplatio nerror.s

update : 22-07-2017

ORA-02342 - replacement type has compilation errors
ORA-02342 - replacement type has compilation errors

  • ora-06959 : Buffer I/O quota is too small
  • ora-01626 : rollback segment number 'string' cannot handle more transactions
  • ora-23610 : internal dbms_streams_tablespaces error: [string] [string] [string] [string]
  • ora-04060 : insufficient privileges to execute string
  • ora-32145 : Environment not specified
  • ora-00379 : no free buffers available in buffer pool string for block size stringK
  • ora-24352 : invalid COBOL display type passed into OCI call
  • ora-38777 : database must not be started in any other instance.
  • ora-07304 : ksmcsg: illegal redo buffer size.
  • ora-01742 : comment not terminated properly
  • ora-09875 : TASDEF_WRITE: write error when writing ?/dbs/tasdef@.dbf file.
  • ora-24150 : evaluation context string.string does not exist
  • ora-08175 : discrete transaction restriction violated (string)
  • ora-13638 : The user interrupted the current operation.
  • ora-13304 : failure to insert a transformed geometry object in a table
  • ora-27083 : waiting for async I/Os failed
  • ora-30374 : materialized view is already fresh
  • ora-23438 : missing refresh group template
  • ora-06744 : TLI Driver: listener cannot bind
  • ora-10933 : trace name context forever
  • ora-39710 : only connect AS SYSDBA is allowed when OPEN in UPGRADE mode
  • ora-12462 : undefined compartment string for policy string
  • ora-24199 : message store is overflow
  • ora-38779 : cannot create restore point - too many restore points.
  • ora-12045 : invalid ALTER MATERIALIZED VIEW LOG option
  • ora-02283 : cannot alter starting sequence number
  • ora-36261 : (XSAGPARTDEP00) Can not Aggregate PARTITION TEMPLATE %J because the path of aggregation would recursively enter partition %J.
  • ora-14080 : partition cannot be split along the specified high bound
  • ora-22326 : cannot change a type to FINAL if it has subtypes
  • ora-13287 : can't transform unknown gtype
  • 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.