GRANT Object Permissions
GRANT permissions on object
What changes
- Input
- principal and securable names
- Output or change
- permission metadata
Syntax at a glance
GRANT <permission> [ ,...n ] ON [ OBJECT :: ][ schema_name ]. object_name [ ( column_name [ ,...n ] ) ] TO <database_principal> [ ,...n ] [ WITH GRANT OPTION ] [ AS <database_principal> ]
Work example
An application principal needs one action on a specific table, view, or routine.
Check the exact object, operation, ownership chain, and role grants before authorizing it.
Check your work The principal can perform that action on that object and no neighboring object.
Open Microsoft Learn for full syntax, permissions, and details for your version.