dbTalk Databases Forums  

Database design question

comp.databases comp.databases


Discuss Database design question in the comp.databases forum.



Reply
 
Thread Tools Display Modes
  #31  
Old   
Jasen Betts
 
Posts: n/a

Default Re: Database design question - 11-01-2008 , 08:00 PM






On 2008-11-01, Charles Calvert <cbciv (AT) yahoo (DOT) com> wrote:
Quote:
CREATE TABLE phones (
phone_id INT PRIMARY KEY,
sim_id INT NULL,
CONSTRAINT FK_phones_sims FOREIGN KEY
(sim_id) REFERENCES sims (sim_id)
);

would not violate the 3NF.
allowing nulls violates 3NF


Bye.
Jasen


Reply With Quote
  #32  
Old   
Gene Wirchenko
 
Posts: n/a

Default Re: Database design question - 11-03-2008 , 10:38 PM






Jasen Betts <jasen (AT) xnet (DOT) co.nz> wrote:

Quote:
On 2008-11-01, Charles Calvert <cbciv (AT) yahoo (DOT) com> wrote:
CREATE TABLE phones (
phone_id INT PRIMARY KEY,
sim_id INT NULL,
CONSTRAINT FK_phones_sims FOREIGN KEY
(sim_id) REFERENCES sims (sim_id)
);

would not violate the 3NF.

allowing nulls violates 3NF
^^^
ITYM "1NF".

Sincerely,

Gene Wirchenko

Computerese Irregular Verb Conjugation:
I have preferences.
You have biases.
He/She has prejudices.


Reply With Quote
  #33  
Old   
Gene Wirchenko
 
Posts: n/a

Default Re: Database design question - 11-03-2008 , 10:38 PM



Jasen Betts <jasen (AT) xnet (DOT) co.nz> wrote:

Quote:
On 2008-11-01, Charles Calvert <cbciv (AT) yahoo (DOT) com> wrote:
CREATE TABLE phones (
phone_id INT PRIMARY KEY,
sim_id INT NULL,
CONSTRAINT FK_phones_sims FOREIGN KEY
(sim_id) REFERENCES sims (sim_id)
);

would not violate the 3NF.

allowing nulls violates 3NF
^^^
ITYM "1NF".

Sincerely,

Gene Wirchenko

Computerese Irregular Verb Conjugation:
I have preferences.
You have biases.
He/She has prejudices.


Reply With Quote
  #34  
Old   
Gene Wirchenko
 
Posts: n/a

Default Re: Database design question - 11-03-2008 , 10:38 PM



Jasen Betts <jasen (AT) xnet (DOT) co.nz> wrote:

Quote:
On 2008-11-01, Charles Calvert <cbciv (AT) yahoo (DOT) com> wrote:
CREATE TABLE phones (
phone_id INT PRIMARY KEY,
sim_id INT NULL,
CONSTRAINT FK_phones_sims FOREIGN KEY
(sim_id) REFERENCES sims (sim_id)
);

would not violate the 3NF.

allowing nulls violates 3NF
^^^
ITYM "1NF".

Sincerely,

Gene Wirchenko

Computerese Irregular Verb Conjugation:
I have preferences.
You have biases.
He/She has prejudices.


Reply With Quote
  #35  
Old   
Charles Calvert
 
Posts: n/a

Default Re: Database design question - 04-29-2009 , 01:05 PM



On 2 Nov 2008 02:00:10 GMT, Jasen Betts <jasen (AT) xnet (DOT) co.nz> wrote in
<gej1ja$1a1$1 (AT) reversiblemaps (DOT) ath.cx>:

Quote:
On 2008-11-01, Charles Calvert <cbciv (AT) yahoo (DOT) com> wrote:
CREATE TABLE phones (
phone_id INT PRIMARY KEY,
sim_id INT NULL,
CONSTRAINT FK_phones_sims FOREIGN KEY
(sim_id) REFERENCES sims (sim_id)
);

would not violate the 3NF.

allowing nulls violates 3NF
How so?
--
Charles Calvert | Web-site Design/Development
Celtic Wolf, Inc. | Software Design/Development
http://www.celticwolf.com/ | Data Conversion
(703) 580-0210 | Project Management


Reply With Quote
  #36  
Old   
Charles Calvert
 
Posts: n/a

Default Re: Database design question - 04-29-2009 , 01:06 PM



On Mon, 03 Nov 2008 20:38:50 -0800, Gene Wirchenko <genew (AT) ocis (DOT) net>
wrote in <6ekvg419bm11psovs2lhvm1ibdckh0pn0s (AT) 4ax (DOT) com>:

Quote:
Jasen Betts <jasen (AT) xnet (DOT) co.nz> wrote:

On 2008-11-01, Charles Calvert <cbciv (AT) yahoo (DOT) com> wrote:
CREATE TABLE phones (
phone_id INT PRIMARY KEY,
sim_id INT NULL,
CONSTRAINT FK_phones_sims FOREIGN KEY
(sim_id) REFERENCES sims (sim_id)
);

would not violate the 3NF.

allowing nulls violates 3NF
^^^
ITYM "1NF".
I find this even less likely than the assertion that they violate the
3NF. Why do you believe it to be so?
--
Charles Calvert | Web-site Design/Development
Celtic Wolf, Inc. | Software Design/Development
http://www.celticwolf.com/ | Data Conversion
(703) 580-0210 | Project Management


Reply With Quote
Reply




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.