Link Search Menu Expand Document

DROP USER

Deletes a user.

For more information, see Managing users.

Syntax

DROP USER [ IF EXISTS ] <user_name> ;

Parameters

Parameter Description
<user_name> The name of the user to delete. If the user name contains spaces or non-alphanumeric characters, it must be enclosed in single or double quotes.

Example

The following command will delete the “alex” user.

DROP USER alex;