SQL Flow Field Guide

CREATE ENDPOINT

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

defines endpoint (no row flow)

What changes

Input
catalog
Output or change
catalog: endpoint

Syntax at a glance

CREATE 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 feature needs a network endpoint for a supported SQL Server protocol.

Review protocol, listener port, authentication, firewall scope, certificate, and service owner with the network team.

Check your work Only the required hosts can reach the endpoint and the protocol has an assigned owner.

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