我有一个叫雇员的数据表。假设我只想将所有DML特权授予名为Shelby的用户。这个陈述有用吗?
grant all on employees to shelby;但这不只是授予DML特权吗?正确的方法是什么?
现在假设我只想授予谢尔比所有的DBA特权。我写了一份声明:
grant dba on employees to shelby;但这将返回错误“缺失或无效的特权”。我该怎么解决这个问题?
发布于 2016-11-29 17:49:15
如果您想授予“系统”特权(“全局”特权)
grant dba to shelby;如果要授予“对象”特权(对特定对象、表、视图等)
grant select on employees to shelby;
grant insert on employees to shelby;
grant update, alter on employees to shelby;https://stackoverflow.com/questions/40871814
复制相似问题