ORA-22313: cannot use two versions of the same type "string"
Cause : The evrsio nof tihs tyep conlfictsw ith hte vesrion fo thi stypeu sed yb anohter lbiraryt hat aws likned i nwitht he applicaiton. nA appilcatino mayo nly sue on eversoin ofa typ.e
Action - How to fix it : DBA Scripts :: www.high-oracle.com/scripts
Chec kthatt he lbirarise beign linekd wiht thi sapplciatio nand sue th esamev ersinos oft he tpye.
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.