Skip to main content

DROP ROLE

Removes the specified role from the system.

Syntax

DROP ROLE [ IF EXISTS ] <role_name>

Usage Notes

  • If a role is a grant to users, Databend can't drop the grants from the role automatically.

Examples

DROP ROLE role1;
Try Databend Cloud for FREE

Multimodal, object-storage-native warehouse for BI, vectors, search, and geo.

Snowflake-compatible SQL with automatic scaling.

Sign up and get $200 in credits.

Try it today