在Linux上的Db2 v11.1中,我们请求创建一个只访问"create“特权的新用户。
为了使用户能够创建视图,当然还要检查视图是否正常工作,我必须设置哪些最小权限?
发布于 2021-10-08 17:34:50
db2 grant CONNECT on database to user user1注意:如果PUBLIC组具有连接特权(这是默认设置),则可能不需要此权限。SELECT特权db2 grant select on table schema1.table1 to user user1。db2 grant createin, alterin, dropin on schema schema1 to user user1中创建/修改/删除对象的特权db2 transfer ownership of schema schema1 to user user1,而不是步骤3。https://dba.stackexchange.com/questions/300853
复制相似问题