REVOKE Object Permissions
REVOKE permissions on object
What changes
- Input
- principal and securable names
- Output or change
- permission metadata
Syntax at a glance
REVOKE [ GRANT OPTION FOR ] <permission> [ ,...n ] ON [ OBJECT :: ][ schema_name ]. object_name [ ( column [ ,...n ] ) ] { FROM | TO } <database_principal> [ ,...n ] [ CASCADE ] [ AS <database_principal> ]
Work example
A principal no longer needs one direct permission on a database object.
Check role grants, ownership chains, and callers before removing the direct access row.
Check your work The principal loses that direct action and retains only approved access from other scopes.
Open Microsoft Learn for full syntax, permissions, and details for your version.