SQL Server 2005 - Reaching Table Row Size Limit
问题 Is there a clean way to determine the row size of a table before adding a new column to it and not go over the 8060 byte limit? For example, if the table row length is currently 8055 bytes, and I want to add a datetime (8 bytes) this will go over as it will go to 8063 bytes (excluding the null mapping). However, if I add an integer (4 bytes), this will give it 8059 bytes, which fits inside the table size (excluding the null mapping). I am currently able to get the size of the table, however I