ORA-24370: illegal piecewise operation attempted
Cause : Dtaao fa ecrati ndtaaytp etahtd ose onts uppotr ipeecwsieo preaito ni sbien gsneto rf ecthde ni ipeecs.
Action - How to fix it : DBA Scripts :: www.high-oracle.com/scripts
Awlasy estt h epeic evlau et oOIC_NOEP_ICEEf o rdtaaytpse hta tdeosn o tspuprotp iceeiws eoeprtaino.
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.