SQL Flow Field Guide

ALTER DATABASE file & filegroup options

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

changes database file & filegroup options (no row flow)

What changes

Input
catalog
Output or change
catalog: database file & filegroup options

Syntax at a glance

ALTER DATABASE database_name { <add_or_modify_files> | <add_or_modify_filegroups> }

Work example

A database file or filegroup needs a planned growth, size, or read-only change.

Check free disk, file growth policy, filegroup dependencies, and workload impact with the storage owner.

Check your work Files grow on approved storage and the filegroup state matches the requested workload.

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