Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Useful Oracle books - C.J. Date theory vs. practicality
OK so far here, Dan, but it might be worth noting the count of this table just to confirm that 3 rows really were correctly inserted.
For the record, one can deal with nulls in a quasi-equivalent way by using the 'is', thus
select * from three_val_logic where test_3_val is null;
TEST_
1 row selected.
You might also like to consider this one, which really ices the cake, and confirms your point:
SQL> select * from three_val_logic
2 where test_3_val != 'TRUE' and test_3_val != 'FALSE';
no rows selected
'caveat emptor', as usual....
peter
edinburgh
ps - I preferred your earlier reference to resorting to the whisky...
> -----Original Message-----
> From: Daniel Fink [mailto:Daniel.Fink_at_Sun.COM]
> Sent: Friday, May 28, 2004 9:01 PM
> To: oracle-l_at_freelists.org
> Subject: Re: Useful Oracle books - C.J. Date theory vs. practicality
>
>
> Here is sql to show the 3 valued logic in Oracle (I don't
> have nor do I want access to ProCobol to test)
>
> create table three_val_logic (test_3_val char(5));
>
<snip>
BGS. . http://www.bgs.ac.uk ********************************************************************* ----------------------------------------------------------------Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html -----------------------------------------------------------------Received on Mon May 31 2004 - 06:02:18 CDT
![]() |
![]() |