sys.sysfilegroups (Transact-SQL)

Contains one row for each file group in a database. There is at least one entry in this table that is for the primary file group.

Important

This SQL Server 2000 system table is included as a view for backward compatibility. We recommend that you use the current SQL Server system views instead. To find the equivalent system view or views, see Mapping SQL Server 2000 System Tables to SQL Server 2005 System Views. This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.

Column name Data type Description

groupid

smallint

Group identification number unique for each database.

allocpolicy

smallint

Reserved

status

int

0x8 = Read-only

0x10 = Default

groupname

sysname

Name of the file group.

See Also

Reference

Mapping SQL Server 2000 System Tables to SQL Server 2005 System Views
Compatibility Views (Transact-SQL)

Help and Information

Getting SQL Server 2005 Assistance