I have a few columns that I know won’t be used initially. Is it a good practice to add columns only when needed or just leave those extra columns there?
Is it just a little more space in the header or every row?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Depends on the column type to some extent.
Variable sized columns (such as
varchar(n)) will only use 4 extra bytes (approx) per row.I would add columns only when required, since it is less likely that redundant columns will be added and never removed.