ALTER DATABASE database mirroring
changes database database mirroring (no row flow)
What changes
- Input
- catalog
- Output or change
- catalog: database database mirroring
Syntax at a glance
ALTER DATABASE database_name SET { <partner_option> | <witness_option> }
Work example
A legacy database mirroring configuration needs a reviewed endpoint or partner change.
Check current support guidance, partner state, witness role, certificates, and the migration plan.
Check your work The mirror state matches the intended partner and the team has a supported recovery path.
Open Microsoft Learn for full syntax, permissions, and details for your version.