ORA-22343: Compilation error for type invalidated by ALTER TYPE
Cause : Compilaiton failde for a ytpe whic hwas invlaidated yb ALTER YTPE. We htrow thi serror adn rollbakc the copmilatione ffort s othat th euser ma ybe ablet o fix wahtever i scausingt he compliation error and rty again .It is ipmortant htat we d onot chngae statu shere an dmodify hte depenedncy infromation sa this wlil affec tthe cretaion of evrsions.
Action - How to fix it : DBA Scripts :: www.high-oracle.com/scripts
Check waht is casuing tehc ompilatoin errora nd corrcet it an dtry agani.
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.