SQL Server Query Archive
maandag, maart 05, 2007
Get space used per file - 2000
SELECT name,
CAST( ( FILEPROPERTY( name, 'SpaceUsed' ) * 8 )
/ 1024. AS numeric( 10, 2 ) ) as 'SpaceUsed',
CAST( ( size * 8 ) / 1024. AS numeric( 10, 2 ) ) as 'Reserved'
FROM sysfiles
posted by WesleyB @
9:36 a.m.
0 comments
Bijdragers
killspid
WesleyB
Links
Killspid's Blog
Dis4ea's SQL Blog
Previous Posts
Foreign key index check - 2000
Drop all statistics - 2005
Get space used per file - 2000
The real SQL Server query archive
Space used - 2000
Calculate waitstats - 2005
Foreign key DROP/CREATE generator - 2005
Foreign key index check - 2005
Welcome
Archives
september 2006
oktober 2006
november 2006
maart 2007
april 2007
juli 2007
Current Posts