Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 check the path or drives for a filegroup
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Posting Yak Master

157 Posts

Posted - 08/03/2013 :  11:52:10  Show Profile  Reply with Quote
Good morning:
i've got 2 questions:
1. is there any way to identify the path or drives in which a specific filegroup is stored in SQL 2K or i have to script?
for instance the datafiles for the primary or secondary FGs DATA5 are stored in:


2 the following script works OK in sql 2008k and prints out DatabaseFileName|FileSizeInMB|FileGroupName|DatabaseFilePath but not in 2000K, is there anyway to apply the same script for 2000K using different system tables adding free space field ?
SELECT AS DatabaseFileName,
dbfile.size/128 AS FileSizeInMB, AS FileGroupName,
dbfile.physical_name AS DatabaseFilePath
sys.database_files AS dbfile
sys.filegroups AS sysFG
dbfile.data_space_id = sysFG.data_space_id

I'd appreciate your help in advanced

  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000