![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
What are NULLs for? Missing information? Then surely there should just be no tuple? To indicate that there can be no value? Why not a seperate table with a boolean value in the non-key column? Steve B. |
#3
| |||
| |||
|
|
"stevedtrm" <stevedtrm (AT) hotmail (DOT) com> wrote in message news:4afba236-4273-4d24-b8f4-5041483d22fc (AT) i12g2000prf (DOT) googlegroups.com... What are NULLs for? Missing information? Then surely there should just be no tuple? To indicate that there can be no value? Why not a seperate table with a boolean value in the non-key column? Steve B. Go to google groups. Select the newsgroup comp.databases.theory Do a search on NULLS. You will find a multitude of discussions about NULLS. almost everything that this discussion might produce has been said in at least one of those discussions. Short answer: yes, it is to indicate that there is no value. |
#4
| |||
| |||
|
|
David Cressey wrote: "stevedtrm" <stevedtrm (AT) hotmail (DOT) com> wrote in message news:4afba236-4273-4d24-b8f4-5041483d22fc (AT) i12g2000prf (DOT) googlegroups.com... |
|
You know the song... |
#5
| |||
| |||
|
|
"stevedtrm" <steved... (AT) hotmail (DOT) com> wrote in message news:4afba236-4273-4d24-b8f4-5041483d22fc (AT) i12g2000prf (DOT) googlegroups.com... What are NULLs for? Missing information? Then surely there should just be no tuple? To indicate that there can be no value? Why not a seperate table with a boolean value in the non-key column? Steve B. Go to google groups. Select the newsgroup comp.databases.theory Do a search on NULLS. You will find a multitude of discussions about NULLS. almost everything that this discussion might produce has been said in at least one of those discussions. Short answer: yes, it is to indicate that there is no value. |
#6
| |||
| |||
|
|
On 26 Dec, 17:47, "David Cressey" <cresse... (AT) verizon (DOT) net> wrote: "stevedtrm" <steved... (AT) hotmail (DOT) com> wrote in message news:4afba236-4273-4d24-b8f4-5041483d22fc (AT) i12g2000prf (DOT) googlegroups.com... What are NULLs for? Missing information? Then surely there should just be no tuple? To indicate that there can be no value? Why not a seperate table with a boolean value in the non-key column? Steve B. Go to google groups. Select the newsgroup comp.databases.theory Do a search on NULLS. You will find a multitude of discussions about NULLS. almost everything that this discussion might produce has been said in at least one of those discussions. Short answer: yes, it is to indicate that there is no value. OK. A brief perusal of those discussions gives me no reason to think NULLS are necessary. Furthermore, they reflect some sort of internal Codd/Date debate as to how to handle NULLs. Something about 2nd and 3rd order logic (my mathematics is too rusty to get anything more than an instinctive grasp of this) |
|
What were the two positions, hypersummarised? |
|
If everyone is clear NULLS shouldnt be used, why the debate as to what to do about them ? |
#7
| |||
| |||
|
|
If everyone is clear NULLS shouldn't be used, why the debate as to what to do about them ? Because SQL allows NULL and even promotes the idea that NULL solves some problem instead of introducing many. |
|
Missing information? Then surely there should just be no tuple? To indicate that there can be no value? Why not a seperate table with a boolean value in the non-key column? |
#8
| |||
| |||
|
|
If everyone is clear NULLS shouldn't be used, why the debate as to what to do about them ? Because SQL allows NULL and even promotes the idea that NULL solves some problem instead of introducing many. So everyone is agreed that NULLs shouldn't appear anywhere, and its just a matter of time before NULLS become a legacy problem and a relational language supercedes SQL? Are the two solutions I suggested before the widely accepted as resolutions to the two problems NULLs were introduced to eradicate? |
#9
| |||
| |||
|
|
stevedtrm wrote: On 26 Dec, 17:47, "David Cressey" <cresse... (AT) verizon (DOT) net> wrote: Short answer: yes, it is to indicate that there is no value. OK. A brief perusal of those discussions gives me no reason to think NULLS are necessary. Furthermore, they reflect some sort of internal Codd/Date debate as to how to handle NULLs. Something about 2nd and 3rd order logic (my mathematics is too rusty to get anything more than an instinctive grasp of this) That's 2-valued logic versus 3-valued logic not 1st order logic versus 2nd order logic, which is a whole other discussion. What were the two positions, hypersummarised? There are more than 2 positions. SQL introduced NULL as a very hackish kludge. Codd pointed out that a single NULL marker did not suffice and suggested 2 markers. Date pointed out that one can apply the same argument to 2 markers leading to an infinite progression once one heads down that path, which suggests the path was never a productive one to head down in the first place. |
#10
| |||
| |||
|
|
(There seems to be an intuitive desire to minimize the number of tables in a database. I don't know whether that's a psychological thing or whether it is something to do with reducing the amount of code that needs to be written.) |
![]() |
| Thread Tools | |
| Display Modes | |
| |