-- db size
use tempdb
exec sp_spaceused
-- file size
select
sf.groupid,
sf.name,
sf.filename,
((sf.size*8192.0)/1048576) 'MBytes'
from
tempdb.sys.sysfiles sf
order by
sf.groupid,
sf.filename
Showing posts with label db size. Show all posts
Showing posts with label db size. Show all posts
Thursday, May 20, 2010
Subscribe to:
Posts (Atom)
