SQL Flow Field Guide

ALTER EXTERNAL DATA SOURCE

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

changes an external access definition

What changes

Input
catalog
Output or change
external data source or file format definition

Syntax at a glance

ALTER EXTERNAL DATA SOURCE data_source_name SET { LOCATION = '<prefix>://<path>[:<port>]' [,] | RESOURCE_MANAGER_LOCATION = <'IP address;Port'> [,] | CREDENTIAL = credential_name } [;]

Work example

An external source location or supported connection option has changed.

Review destination ownership, credential mapping, network access, and provider support with the data owner.

Check your work A small read reaches the new approved location and no other source changes.

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