SQL Flow Field Guide

GRANT Database Permissions

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

GRANT permissions on database

What changes

Input
principal and securable names
Output or change
permission metadata

Syntax at a glance

GRANT <permission> [ ,...n ] TO <database_principal> [ ,...n ] [ WITH GRANT OPTION ] [ AS <database_principal> ]

Work example

A database principal needs one database-scoped permission for a reviewed task.

Compare the proposed grant with existing database roles and object-level alternatives.

Check your work The principal completes the task without receiving an unneeded database-wide permission.

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