Duplicate of: How to find out size of the individual databases in the sql server 2005?
how to find out log size of each of the database in sql server 2005?
Duplicate of: How to find out size of the individual databases in the sql server 2005?
how to find out log size of each of the database in sql server 2005?
You can use this SQL:
EXECUTE sp_msforeachdb 'SELECT *, GETDATE() FROM [?].sys.database_files'
In SQL management studio , goto object explorer, right click database, goto "properties" , select "Files" . These you can see one "Initial size" column which will be the size of your DB. you will get both Data and Log file size over here.