REVOKE Schema Permissions
REVOKE permissions on schema
What changes
- Input
- principal and securable names
- Output or change
- permission metadata
Syntax at a glance
REVOKE [ GRANT OPTION FOR ] permission [ ,...n ] ON SCHEMA :: schema_name { TO | FROM } database_principal [ ,...n ] [ CASCADE ] [ AS revoking_principal ]
Work example
A principal no longer needs a direct permission across one schema.
Review object-level grants and current schema consumers before removing the broader permission.
Check your work The schema grant is gone and any retained object access is explicit and approved.
Open Microsoft Learn for full syntax, permissions, and details for your version.