wikidba.net
Finding Space Used,Space left on Data and Log files
Here is a script from which we can easily find the Spaceused on MDF and LDF files. Select DB_NAME() as [DATABASE NAME], fileid as FILEID, CASE WHEN groupid = 0 then ‘LOG FILE&#8…