SQL Flow Field Guide

DROP SERVER ROLE

Catalog support for SQL Server 2022 (16.x) and 2025 (17.x)

removes a server role

What changes

Input
catalog
Output or change
security catalog: server role

Syntax at a glance

DROP SERVER ROLE role_name [ ; ]

Work example

A custom server role is retired after members and permissions move.

List role members, nested grants, ownership, and operational jobs that depend on the role.

Check your work No login depends on the role and its required server tasks still work.

Open Microsoft Learn for full syntax, permissions, and details for your version.