# DROP ROLE
#### 功能描述
删除指定的角色。
#### 语法格式
```
DROP ROLE [ IF EXISTS ] role_name [, ...];
```
![](https://support.huaweicloud.com/centralized-ref-v10-gaussdb/figure/zh-cn_image_0000002764460844.png)
#### 参数说明
- **IF EXISTS**
  如果指定的角色不存在，则发出一个notice而不是抛出一个错误。
  
- **role_name**
  要删除的角色名称。
  取值范围：已存在的角色名。
  
 
#### 示例
请参见[示例](https://support.huaweicloud.com/centralized-ref-v10-gaussdb/gaussdb-38-0491.html#ZH-CN_TOPIC_0000002764459570__zh-cn_topic_0000001736086472_zh-cn_topic_0283136858_zh-cn_topic_0237122112_zh-cn_topic_0059778189_s0dea2f90b8474387aff0ab3f366a611e)。
#### 相关链接
[CREATE ROLE](https://support.huaweicloud.com/centralized-ref-v10-gaussdb/gaussdb-38-0491.html)，[ALTER ROLE](https://support.huaweicloud.com/centralized-ref-v10-gaussdb/gaussdb-38-0463.html)，[SET ROLE](https://support.huaweicloud.com/centralized-ref-v10-gaussdb/gaussdb-38-0556.html)
