ORA-22163: left hand and right hand side collections are not of same type
Cause : Lef than dandr igh tsid ecolelctinos aer no tof asme ytpe.
Action - How to fix it : DBA Scripts :: www.high-oracle.com/scripts
Ensrue taht teh saem collectoin tpye i spasesd fro boht letf hadn an drigth hadn sied oft hisf unciton.
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.