What happens when we drop a column on a SQL Server table? Where's my space?

  • Thank you. I enjoyed the article very much.

  • Presumably, future inserts (after the column is dropped) won't consume use space for the deleted column, though?

    Also, question, if a page is rewritten (e.g., due to a normal insert or update), is the space taken by a deleted column recycled then?

  • Comments posted to this topic are about the item What happens when we drop a column on a SQL Server table? Where's my space?

  • If we remove all the rows that contained the columns that was dropped, while adding new rows that dont use the dropped column, will the space eventually be reclaimed?

    For example, we have 100 rows.

    Drop the column

    Add 50 rows

    Delete the first 100

    Add another 100, etc...

  • Same question as Grasshopper. If we remove all the rows that contained the columns that was dropped, while adding new rows that dont use the dropped column, will the space eventually be reclaimed?

Viewing 5 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply