Find Free and Occupied space by SQL Server Database

I am writing this post on the demand of one reader.
In this post, I provide you one SQL Script to find free and occupied space for database storage files.

Actually SSMS provides GUI to find free and occupied space for individual Database.

But I am providing this script for the DBA reports where the DBA can use this column value in its reports.

Below is a script:

Anvesh Patel

Leave a Reply

Be the First to Comment!

Notify of
avatar
wpDiscuz