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

查看:25
本文介绍了在 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天全站免登陆