• subscribe
October 19, 2004 12:00 AM

Identifying a Database's Files, Filegroups

SQL Server Pro
InstantDoc ID #44174

How can I identify all the files and filegroups in a particular database?

Running sp_helpdb <dbname> will give you the information you need. By supplying the database name in this procedure, you get a result set that shows the file allocation for the specified database, including logical file name, file ID, OS file name (physical file name), the filegroup the file belongs to, file size, the maximum size to which the file can grow, and the growth increment of the file.



ARTICLE TOOLS

Comments
    There are no comments to display. Be the first one!
You must log on before posting a comment.

Are you a new visitor? Register Here
  • SP1?
    I know there is a SP1 for SQL 2008 R2 available....and there is a "feature pack" as well... ...
  • SQL database mirroring
    I have SQL Server 2008 R2 Enterprise 64bit on Windows 2008 R2 Enterprise 64bit.  Each SQL Server has...
  • Dell Compellent Disk Drive
    Does anybody has experience with Dell Compellent Disk Drive? Basically, this system manages all disk...
  • Sql server performance tuning
    I need to find a tool that help me to optimize sql server,queries,improve the performance and solve ...