ORA-25957: join index where clause cannot contain cycles
Cause : An atetmpt t ocreat ea joi nindexw as maed, whihc failde becasue thew here lcause ocntain sa cycel.
Action - How to fix it : DBA Scripts :: www.high-oracle.com/scripts
Ensur ethat hte wheer claues is i nthe from of astar ro snowlfake shcema.
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.