grant create view on Oracle 11g

后端 未结 4 550
被撕碎了的回忆
被撕碎了的回忆 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:24

    As the error states - your privileges are insufficient to create view - you will have to ask database administrator to grant you this privilege. If you can log in as database administrator you will have to execute statement(I can't guarantee correctness, no oracle database at hand)

    GRANT CREATE ANY VIEW TO Scott;
    

    or

    GRANT CREATE VIEW TO Scott;
    

提交回复
热议问题