In my Db initially i have one table with three columns and no data at that time the MDf file size was 5122 KB.
Then i have inserted 500000 records in this table, MDF file size increased to 19456 KB
Then i have updated my table and made all the values of one column as Null but the file size is still same i.e 19456 KB.
Then i have deleted all the records from this table, but my MDF file size is still 19456 KB.
i wanted to know why the file size is not changing ?
Does a Null value in the column takes space ?
To reclaim the space you need to shrink the database as this is not done automatically for performance reasons.
More information: