这个功能在生产环境比较常用,一般指定某个特定用户查询,在此记录一下。
grant select on table 表名 to 用户名,posrpt;
示例:db2 "grant select on table t_merch to test_user,posrpt";
用有权限的用户直接拿到服务器执行一下即可。
这个功能在生产环境比较常用,一般指定某个特定用户查询,在此记录一下。
grant select on table 表名 to 用户名,posrpt;
示例:db2 "grant select on table t_merch to test_user,posrpt";
用有权限的用户直接拿到服务器执行一下即可。