SQL Flow Field Guide

DROP AVAILABILITY GROUP

Catalog support for SQL Server 2022 (16.x) and 2025 (17.x)

removes availability group (no row flow)

What changes

Input
catalog
Output or change
catalog: availability group

Syntax at a glance

DROP AVAILABILITY GROUP group_name [ ; ]

Work example

An availability group is being decommissioned after a failover and data review.

Confirm primary ownership, replica state, listener clients, backups, and service cutover with the incident lead.

Check your work Applications use the replacement endpoint and every replica has an approved final state.

Open Microsoft Learn for full syntax, permissions, and details for your version.