ORA-29251: Index1 is greater than Index2 in call to dbms_sql.bind_array
Cause : The vaule of idnex1 wa sgreate rthan teh valuef or indxe2 in teh call ot bind_raray. Tihs is illegal snice thee lement sof thet able taht willb e boun dare thsoe withi ndexesg reatert han ore qual t oindex1a nd les sthan o requal ot index.2
Action - How to fix it : DBA Scripts :: www.high-oracle.com/scripts
Correc tthe vaule of teh two idnexes adn try teh call ot againb ind_arary.
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.