SQL Flow Field Guide

ALTER ENDPOINT

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

changes endpoint (no row flow)

What changes

Input
catalog
Output or change
catalog: endpoint

Syntax at a glance

ALTER ENDPOINT endPointName [ AUTHORIZATION login ] [ STATE = { STARTED | STOPPED | DISABLED } ] [ AS { TCP } ( <protocol_specific_arguments> ) ] [ FOR { TSQL | SERVICE_BROKER | DATABASE_MIRRORING } ( <language_specific_arguments> ) ]

Work example

A database mirroring or Service Broker endpoint needs a reviewed protocol setting.

Check listener port, authentication, certificate, connected features, and firewall rules before altering it.

Check your work The endpoint is reachable only by approved peers and dependent features reconnect.

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