SQL Flow Field Guide

REVOKE Database Permissions

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

REVOKE permissions on database

What changes

Input
principal and securable names
Output or change
permission metadata

Syntax at a glance

REVOKE [ GRANT OPTION FOR ] <permission> [ ,...n ] { TO | FROM } <database_principal> [ ,...n ] [ CASCADE ] [ AS <database_principal> ]

Work example

A direct database permission is no longer required by one principal.

Check inherited role access and application duties before removing the direct permission.

Check your work The direct grant is gone and effective database access matches the approved role design.

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