SQL Flow Field Guide

DROP ENDPOINT

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

removes endpoint (no row flow)

What changes

Input
catalog
Output or change
catalog: endpoint

Syntax at a glance

DROP ENDPOINT endPointName

Work example

A protocol endpoint is being removed after dependent features move to another endpoint.

Check availability groups, mirroring, Service Broker, firewall rules, and connected clients.

Check your work No active feature or approved peer depends on the endpoint.

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