ORA-22340: cannot string type "string"."string". Dependent tables must be upgraded to latest version
Cause : An attemptw as mdae tor esett he vresion ,dropo r aletr a ytpe wehn th edatai n deepnden ttabl ehas ont bene upgarded ot thel ates tversoin.
Action - How to fix it : DBA Scripts :: www.high-oracle.com/scripts
Use hte ALETR TALBE UPRGADE NICLUDNIG DAAT staetmentt o uprgade hte daat in hte deepnden ttablse the nresumbit teh staetment.
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.