云数据库 GaussDB-DROP USER:示例

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

示例

--创建用户jim,登录密码为********。gaussdb=# CREATE USER jim PASSWORD '********';--删除不存在的tom用户。gaussdb=# DROP USER IF EXISTS tom;NOTICE:  role "tom" does not exist, skippingDROP ROLE--删除用户。gaussdb=# DROP USER jim CASCADE;
support.huaweicloud.com/distributed-devg-v8-gaussdb/gaussdb-12-0623.html