SQL Flow Field Guide

REVOKE Assembly Permissions

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

REVOKE permissions on assembly

What changes

Input
principal and securable names
Output or change
permission metadata

Syntax at a glance

REVOKE [ GRANT OPTION FOR ] permission [ ,...n ] ON ASSEMBLY :: assembly_name { TO | FROM } database_principal [ ,...n ] [ CASCADE ] [ AS revoking_principal ]

Work example

An assembly permission is no longer required by a database principal.

Check callers and role inheritance before removing the direct assembly permission.

Check your work The direct grant is gone and required signed-module access still works.

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