| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: NULLs: theoretical problems?
Jon Heggland wrote:
> Quoth V.J. Kumar:
>
>>I do not understand why they are not equivalent. >> >>The first SQL predicate, according to your rules, evaluates to 'true': >>'DEF t.a : (t.a = 5 OR TRUE)' -> 'FALSE OR TRUE' -> 'TRUE' >> >>The second SQL predicate also evaluates to 'true': >>'t.a = 5 OR TRUE' -> 'UNKNOWN OR TRUE' -> 'TRUE' >> >>What is the difference ?
That depends. One could have a system where evaluating an undefined t.a would raise an error condition. Received on Fri Aug 24 2007 - 07:53:52 CDT
![]() |
![]() |