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
 Transact-SQL (2000)
 How to use SQL to determine free space??

Author  Topic 

drewsalem
Constraint Violating Yak Guru

304 Posts

Posted - 2006-03-29 : 10:46:04
When using EM to shrink a file, it kindly tells you the space allocated for that file, and the amount of free space within this file.

How can I determine this without actually executing dbcc shrinkfile? sp_helpfile does not appear to give that information.

Cheers,


Drew

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2006-03-30 : 00:54:12
sp_spaceused


Madhivanan

Failing to plan is Planning to fail
Go to Top of Page
   

- Advertisement -