If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > General > Database Concepts & Design > What is a better practice

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-10-03, 11:43
gvandora gvandora is offline
Registered User
 
Join Date: Sep 2003
Location: Las Vegas, NV
Posts: 1
What is a better practice

I need to add a text field to a table, but at most, only about 5% of the records in the table will ever use this text field, the rest will just hold a NULL value.

My question is whether it would be better design or not to make another table for this text field with a 1-to-1 relationship to the existing table.

Thanks a lot for you input,
Greg
Reply With Quote
  #2 (permalink)  
Old 09-11-03, 08:53
andrewst andrewst is offline
Moderator.
 
Join Date: Sep 2002
Location: UK
Posts: 5,171
Re: What is a better practice

Quote:
Originally posted by gvandora
I need to add a text field to a table, but at most, only about 5% of the records in the table will ever use this text field, the rest will just hold a NULL value.

My question is whether it would be better design or not to make another table for this text field with a 1-to-1 relationship to the existing table.

Thanks a lot for you input,
Greg
A NULL column shouldn't occupy much space (if any) so there should be harm in having the column in the main table. In Oracle, if the column is at the end of the row it will take up NO space when empty.
__________________
Tony Andrews
http://tinyurl.com/tonyandrews
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On