Oracle:授予在另一个模式中创建表? [英] Oracle : Grant Create table in another schema?

查看:58
本文介绍了Oracle:授予在另一个模式中创建表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有两个用户:Schema1 和 Schema2

I have two users : Schema1 and Schema2

如何将 Schema2 上的 Create Table 权限授予 Schema1?

How to grant Create Table privilege On Schema2 to Schema1 ?

我一直在转身,我很困惑.我试过:

I have been turning around and I got confused. I tried :

从我尝试过的 Schema2,

From Schema2 I tried,

GRANT CREATE TABLE TO SCHEMA1 WITH ADMIN OPTION;

但似乎这将创建表授予 Schema1 在其自己的 Schema 中,而不是在 Schema2 中.

But it seems like this grants Creating table to Schema1 in its own Schema and not in the Schema2.

有什么想法吗?

谢谢.

推荐答案

允许非 DBA 用户在另一个模式中创建表的唯一其他方法是为用户提供 CREATE ANY TABLE 系统权限.

The only other way to allow a non-DBA user to create a table in another schema is to give the user the CREATE ANY TABLE system privilege.

此权限只能由具有 DBA 权限的用户授予 SCHEMA1.

This privilege can only be given to SCHEMA1 by a user with DBA privileges.

这篇关于Oracle:授予在另一个模式中创建表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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