DROP ROLE Statement

Removes a user-defined role from the database or converts a user-extended role to a regular user.

Syntax

DROP ROLE [ FROM USER ] role_name
   [ WITH REVOKE ]

Parameters

Examples

Usage

A user-defined role can be dropped from the database or converted back to a regular user at any time as long as all dependent roles left meet the minimum required number of administrative users with active passwords.

Standards

ANSI SQL – Compliance level: Transact-SQL extension.

Permissions