DROP USER Statement

Removes a user.

Syntax

DROP USER  user-name

Examples

Usage

 user-name—Name of the user to remove.

Standards

  • SQL—ISO/ANSI SQL compliant.

  • Sybase—Not supported by Adaptive Server Enterprise.

Permissions

Must have DBA or USER ADMIN authority.

Related reference
CREATE LOGIN POLICY Statement
CREATE USER Statement
DROP LOGIN POLICY Statement
GRANT Statement
ALTER LOGIN POLICY Statement