在Oracle 11g上授予创建视图 [英] grant create view on Oracle 11g

查看:178
本文介绍了在Oracle 11g上授予创建视图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在学校使用SQL * Plus,并且使用用户名Scott.我无法创建视图,因为它显示:

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 searched and searched, but nothing seems to get it right. Any help?

推荐答案

由于错误状态-您的权限不足以创建视图-您将必须要求数据库管理员向您授予此权限. 如果您可以以数据库管理员身份登录,则必须执行语句(我不能保证正确性,手头没有oracle数据库)

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;

GRANT CREATE VIEW TO Scott;

这篇关于在Oracle 11g上授予创建视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆