SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Could anyone answer the following
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

masterdineen
Aged Yak Warrior

United Kingdom
549 Posts

Posted - 11/19/2012 :  05:26:32  Show Profile  Reply with Quote
The pros and cons of adding new tables VS. extending existing tables.
?????????????????????????????????????????????????????????????????????

sunitabeck
Flowing Fount of Yak Knowledge

5155 Posts

Posted - 11/19/2012 :  06:43:54  Show Profile  Reply with Quote
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
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000