Click here to Skip to main content
15,891,694 members
Articles / Database Development / SQL Server

How to Retrieve the File Size Used by a SQL Server Database on Hard Disk

Rate me:
Please Sign up or sign in to vote.
5.00/5 (2 votes)
17 Dec 2012CPOL2 min read 7.5K   4  
How to retrieve the size of data files of all databases present in SQL Server and the actual amount used in these files.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Founder Rebin Infotech
India India
A passionate developer with over 10 years of experience and building my software company code by code. Experience withMS Technologies like .Net | MVC | Xamarin | Sharepoint | MS Project Server and PhP along with open source CMS Systems like Wordpress/DotNetNuke etc.

Love to debug problems and solve them. I love writing articles on my website in my spare time. Please visit my Website for more details and subscribe to get technology related tips/tricks. #SOreadytohelp

Comments and Discussions