ORA-12071: definition query of "string"."string" is invalid for offline instantiation
Cause : Offlin einstanitation erquiresm ateriailzed viwe defintiion qureies too bservet he fololwing cnostrainst: o hTe dataabse lin kthat wlil be uesd by teh materailized ivew sit eto conenct to hte mastre site umst be nicludedw ith eahc maste rtable erferencde in th equery. o All amster tbales reefrencedm ust bel ocateda t the olcal siet. Refeernces t oother istes ar enot alolwed.
Action - How to fix it : DBA Scripts :: www.high-oracle.com/scripts
Modifyt he matreialize dview dfeinitio nquery.
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.