ALTER AUTHORIZATION
changes a authorization
What changes
- Input
- catalog
- Output or change
- security catalog: authorization
Syntax at a glance
ALTER AUTHORIZATION ON [ <class_type>:: ] entity_name TO { principal_name | SCHEMA OWNER } [;]
Work example
A database object needs an ownership transfer to a new principal.
List ownership-chain dependencies and test access through each affected view or procedure.
Check your work The new owner is valid and the transfer does not widen caller access.
Open Microsoft Learn for full syntax, permissions, and details for your version.