原文地址:https://blog.csdn.net/u012129031/article/details/76218764 1.将用户user1的表权限赋给用户user2 select 'grant select on user1.' || t.table_name || ' to user2;' from user_tables t 2. grant select any table to robbie; 3. 根据指定用户名获得对应用户所拥有权限的表 SELECT table_
CREATE USER systemselect IDENTIFIED BY 'Zbank123456';#只给查询权限 GRANT SELECT ON szkitil.zbank_businesssystemtype TO systemselect@'%'#给查询.插入.修改.删除权限 GRANT select,insert,update,delete ON szkitil.zbank_businesssystemtype TO systemselect@'%' SHOW GRANTS FOR