DROP ROLE Statement

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

Quick Links:

Go to Parameters

Go to Examples

Go to Usage

Go to Standards

Go to Permissions

Syntax

DROP ROLE [ FROM USER ] role_name
   [ WITH REVOKE ]

Parameters

(back to top)

Examples

(back to top)

Usage

(back to top)

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

(back to top)

ANSI SQL–Compliance level: Transact-SQL extension.

Permissions

(back to top)