Reports information about a particular segment or about all segments in the current database.
sp_helpsegment [segname]
where
Segments are added to the syssegments table in the current database by using the sp_addsegment system procedure.
This example reports information about the SEGMENT3 segment, including which database tables and indexes use that segment.
sp_helpsegment segment3
Execute permission defaults to the public group.
master.dbo.sysdevices, master.dbo.sysusages, sysindexes, syssegments
sp_addsegment | sp_helpdb |
sp_dropsegment | sp_helpdevice |
sp_extendsegment |