How to get the current Database and Log Filesize using MSSQL
To get the current Database and Log Filesize using MSSQL you can use the snippet below. Tested using SQL Server 2012. Sample MSSQL Sample Output
All the Code Snippets and Samples you need
To get the current Database and Log Filesize using MSSQL you can use the snippet below. Tested using SQL Server 2012. Sample MSSQL Sample Output
To convert bytes to human readable file size in PHP you can use the following snippet. Sample PHP
To format bytes to human readable file size you can use the following code snippet. Sample C# Sample VB.NET