Hi there, I wonder if there are some neat commands/method to check the database's usage, since it's so important.
I know 'sp_spaceused', you can get the total size of database and how much is free. but it adds data file and log file's size together.What if I want to know how much data file has been used and how much log file is aten up, respectively?