grant create view on Oracle 11g

后端 未结 4 532
被撕碎了的回忆
被撕碎了的回忆 2020-12-21 10:43

I use SQL*Plus for school and I use the username Scott. I cannot create views because it says:

ORA-01031: insufficient privileges;

I\'ve se

4条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-21 11:16

    step 1-conn ss/ss as sysdba;
    step 2- GRANT CREATE ANY VIEW TO Scott;
    step 3- conn scott/tiger
    step 4-create or replace view v as select *from emp;

提交回复
热议问题