SQL Flow Field Guide

sys.sp_helpdistributiondb

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

sphelpdistributiondb returns properties of the specified distribution database.

What changes

Input
Not stated in the Microsoft summary.
Output or change
Not stated in the Microsoft summary.

Syntax at a glance

sys.sp_helpdistributiondb [ [ @database = ] N'database' ]
[ ; ]

Work example

sphelpdistributiondb returns properties of the specified distribution database.

Read the warning and prerequisites. Describe the supported maintenance context without running the procedure.

Check your work When does Microsoft support using this internal procedure?

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