| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: 3 value logic. Why is SQL so special?
peter koch wrote:
> Bob Badour wrote:
>
>>JOG wrote: >> >> >>>Bob Badour wrote: >>> >>> >>>>What is NULL if not the basis for 3 valued logic or 4 valued logic?
I don't recall ever forbidding it. I ridicule it quite regularly, but I don't recall ever forbidding it.
Even less can i see how you
> can enforce users (database-designers) to create a four-valued type
> system if they should so desire.
Again, I have long espoused the idea to drop NULL and 3-vl in favour of an adequate data type system.
(Assuming the database has a
> sufficiently powerful typesystem: C++ comes in mind).
Ugh. C++ sucks as a typesystem. How about something better that is based on types instead of structures and pointers.
>>>An ugly hack to workaround the fact that most designers are either too >>>lazy or too lacking in pride to design their databases correctly? >> >>Um, well okay, but I guess I was asking for an answer from the folks who >>want to rationalize the ugly hack somehow.
Without an SQL dbms, who in their right mind would ever dream of using NULL?
I could perfectly well live with a situation
> where nulls were for some reason disallowed in "physical" tables.
Why? They are needed there even less than in the logical design.
(But
> do not see why they must be). The major problem of missing nulls is one
> of supporting the end users who query my base tables; here a left join
> is often quite nice to have.
NULL is not necessary for outer joins and introduces far more problems than it solves. Received on Wed Sep 20 2006 - 13:35:50 CDT
![]() |
![]() |