ALTER DATABASE file & filegroup options
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.