Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Could anyone answer the following

Author  Topic 

masterdineen
Aged Yak Warrior

550 Posts

Posted - 2012-11-19 : 05:26:32
The pros and cons of adding new tables VS. extending existing tables.
?????????????????????????????????????????????????????????????????????

sunitabeck
Master Smack Fu Yak Hacker

5155 Posts

Posted - 2012-11-19 : 06:43:54
I don't think there is one universally right answer. It really depends on the business needs and the nature of the DML queries that will be run against the table(s).

If there is only one column that you need to add which would be mostly null, it would be better to add that as a column to the table. (Of course, you would be breaking code that people wrote against the table with a "SELECT *", but if you ask me, they deserve to be broken).

If you have a number of columns, and most of them are null most of the time, a separate table would probably be more appropriate.
Go to Top of Page
   

- Advertisement -