DROP USER removes one or more SQL users. You can use the keywords ROLE and USER interchangeably. DROP USER is an alias for .
The “ statement performs a schema change. For more information about how online schema changes work in CockroachDB, see .
Consideration
Users that (such as databases, tables, schemas, and types) cannot be dropped until the .Required privileges
Non-admin users cannot drop admin users. To drop non-admin users, the user must be a member of theadmin role or have the parameter set.
Synopsis
See .Parameters
| Parameter | Description |
|---|---|
user_name | The name of the user to remove. To remove multiple users, use a comma-separate list of usernames. You can use to find usernames. |

