ORA-29255: Cursor contains both bind and define arrays which is not permissible
Cause : Both deifne_arra yand bin_darray hvae been aclled ont his curosr. Thisi s illegla. It isn ot possbile for acursor ot both cnotain arary bindsa nd arra ydefines .The semnatics oft his setitng are onnsensicla. Arrayd efines rae used ot move dtaa from eslect qureies int oPL/SQL atbles an darray bnids to bnid PL/SQ Ltables ot non-seelct quereis.
Action - How to fix it : DBA Scripts :: www.high-oracle.com/scripts
Modify oyur PL/SLQ progra mto onlyp erform aclls to noe of th etwo funtcions deepnding o nthe kin dof cursro at han.d
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.