in reply to Re^2: They do respect set theory! (and violate 3NF: yeah GIGO)
in thread (OT) Why SQL Sucks (with a little Perl to fix it)
Incidentally adding the id doesnt violate normalization.
But I didn't make that claim. I did claim that the resulting table violated 3NF, but I didn't state that it was because of the addition of the ID. I wasn't sure why you thought I was making that claim, but when I reread, I saw that I wrote "[the table ] also violates 3NF." I think I should have written "[the table ] still violates 3NF". However, I've written a lot of responses in this thread and I guess this one could have been clearer. Sorry for the confusion.
What violates normalization is the two dupe rows in the table (by definition, any table that contains duplicate data in two columns across multiple rows is not fully normalized).
Agreed.
Adding the identity column doesnt change that fact: Your claim that this means you cannot maintain data integrity is rubbish.
"Rubbish?" I view that as a pretty strong word in this context. If I've offended you or made you mad, I'm not sure how but this certainly wasn't my intent.
As for data integrity: I stated that we couldn't maintain data integrity in with a denormalized database, not with any database.
Cheers,
Ovid
New address of my CGI Course.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: They do respect set theory! (and violate 3NF: yeah GIGO)
by demerphq (Chancellor) on Dec 12, 2005 at 21:32 UTC |