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

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 about the filegroups in sqlserver7.0

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2002-05-01 : 08:53:44
ajay writes "hai

i would like to know how to find tables that are listed under a filegroup with out the dbcc checkfilegroup option
please let me know with a clear example

thank u"

izaltsman
A custom title

1139 Posts

Posted - 2002-05-01 : 11:06:19
I'm thinking something along these lines should work...


select grp.groupname, object_name(i.id)
from
sysfilegroups grp
inner join sysindexes i
ON (grp.groupid=i.groupid)
where
i.indid <2


---------------
Strong SQL Developer wanted in the Boston area. Please e-mail if interested.

Edited by - izaltsman on 05/01/2002 11:06:44
Go to Top of Page
   

- Advertisement -