Quote:
Originally posted by andrewst
It may be more relationally "correct" to separate them, but there may be no need to do so in practice. In Oracle, for example, such columns should be placed at the end of the row; then when they are null they occupy NO space. This will be more efficient than having to join to another table to get them.
|
Thanks Andrew for your reply.
I incline to be "more relationally 'correct'". I have some concerns/questions with the approach.
1. Insertion operation:
Do I need a set of query statements for each separated table? (A condition of whether a valid data exists checking first, of course)
2. Updating operation:
Is the correct that a pair of delection and insertion operations is needed for the separated tables?
3. Selection operation:
The query is something like the followings:
select ... from main_table left out join separated_table1 on ... left out join separated_table2 on ... left out join separaent_table3 on ...
Thanks again.
v.