REVOKE Database Permissions
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.