📣
New in Public Preview:
TiDB Cloud BYOC
,
TiDB Cloud Filesystem
,
PostgreSQL-compatible TiDB Cloud Starter
Sign In
Start for Free
Product
AI
Developer
Best Practices
API
Releases
Sign In
Start for Free
English
DROP ROLE
Contribute
Copy as Markdown
View as Markdown
Removes the specified role from the system.
Syntax
DROP
ROLE [ IF
EXISTS
]
<
role_name
>
Usage Notes
If a role is a grant to users, TiDB Cloud Lake can't drop the grants from the role automatically.
Examples
DROP
ROLE role1;
Was this page helpful?
Yes
No
ON THIS PAGE
Syntax
Usage Notes
Examples
ON THIS PAGE