FILEGROUP_NAME
catalog lookup
What changes
- Input
- catalog metadata (object, column, index, file, database properties)
- Output or change
- id, name or property value
- Return type
- nvarchar(128)
Syntax at a glance
FILEGROUP_NAME ( filegroup_id )
Work example
Resolve a filegroup identifier to its visible name.
Use schema-qualified names and test missing and permission-hidden objects separately.
Check your work Check the id belongs to the current database and handle null.
Open Microsoft Learn for full syntax, permissions, and details for your version.