云数据库 GaussDB-DROP ROLE:示例

时间:2025-01-26 10:48:21

示例

--创建角色role11。gaussdb=# CREATE ROLE role11  PASSWORD '********';CREATE ROLE--删除role11角色。gaussdb=# DROP ROLE IF EXISTS role11;DROP ROLE--删除不存在的角色role12。gaussdb=# DROP ROLE IF EXISTS role12;NOTICE:  role "role12" does not exist, skippingDROP ROLE

support.huaweicloud.com/distributed-devg-v8-gaussdb/gaussdb-12-0610.html