August 5, 2010 at 1:09 pm
Hello Everyone
Using SQL 2000 and 2005, I am looking for the table that stores the database size for all databases. For the life of me I cannot recall the name.
It is not in the sysdatabases table. It would be nice if it were
Thanks
Andrew SQLDBA
August 5, 2010 at 1:34 pm
You can query sp_databases for that information.
Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
Ramblings of a DBA (My SQL Server Blog)[/url]
Subscribe to my blog
August 5, 2010 at 1:40 pm
You may be looking for:
select * from master.dbo.sysaltfiles
You can use the following script to get more detailed information:
Get Server Database File Information
August 5, 2010 at 2:12 pm
Thanks Greatly
That is perfect
Andrew SQLDBA
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply