操作场景
回收用户组的数据库权限。
语法格式
REVOKE SELECT ON DBNAME.TBNAME FROM role_name
示例
gbase> revoke select on test.t from r1;
Query OK, 0 rows affected (Elapsed: 00:00:00.07)
GBase 8a MPP Cluster 产品手册
4 管理员指南
文档版本953(2022-09-15)
南大通用数据技术股份有限公司
432
gbase> revoke all privileges on *.* from u2;
Query OK, 0 rows affected (Elapsed: 00:00:00.04)
gbase> revoke all privileges, grant option from u2;
Query OK, 0 rows affected (Elapsed: 00:00:00.03)
gbase> revoke all , grant option from u2;
Query OK, 0 rows affected (Elapsed: 00:00:00.02)