在需要创建视图的用户执行
GRANT CREATE ANY TABLE TO USER2;
GRANT SELECT ANY TABLE TO USER2;
GRANT COMMENT ANY TABLE TO USER2;
GRANT LOCK ANY TABLE TO USER2;
GRANT SELECT ANY DICTIONARY TO USER2;
在需要创建视图的用户执行
GRANT CREATE ANY TABLE TO USER2;
GRANT SELECT ANY TABLE TO USER2;
GRANT COMMENT ANY TABLE TO USER2;
GRANT LOCK ANY TABLE TO USER2;
GRANT SELECT ANY DICTIONARY TO USER2;