Oracle 授予权限

Oracle Grant privileges

如何向用户授予权限,以便他们可以将权限传递给 Oracle 中的其他用户?

将所有客户授予管理员权限;

这个命令有效吗?

谢谢

GRANT ALL PRIVILEGES ON mydb.customers TO username WITH GRANT OPTION;

添加WITH GRANT OPTION:

Grant All On Customers to Admin with grant option;

您可能需要 with grant option 子句。

grant all
   on customer
   to some_user
 with grant option;

如果您要授予系统权限而不是对象权限,请使用 with admin option 子句而不是 with grant option