July 17, 2008 at 3:28 am
Hi Experts,
Is there any way to know the size of server(remote server) as a whole,i mean the total size of all the databases.
July 17, 2008 at 4:22 am
I think there's a sproc out there called sp_spaceused if that's what your looking for?
Greg Larson wrote a script a while back.. uses xp_fixeddrives
July 17, 2008 at 4:26 am
[font="Verdana"]Try the below code.
SELECT sum((size*8)/1024) as 'All db Size' from sys.master_files
[/font]
Regards..Vidhya Sagar
SQL-Articles
July 29, 2008 at 2:37 am
Thanks Vidhya
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply