📣
TiDB Cloud Premium
is now in public preview. Unlimited growth, instant elasticity, advanced security for enterprise workloads.
Try it out →
Ask AI
Sign In
Start for Free
Product
AI
Developer
Best Practices
API
Releases
Ask AI
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