home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.databases.oracle      Overblown overpriced overengineered SHIT      2,288 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 1,874 of 2,288   
   DA Morgan to Frank Piron   
   Re: Unique constraint and NULL values   
   21 Oct 04 18:54:29   
   
   XPost: comp.databases.oracle.misc, comp.databases.oracle.server   
   From: damorgan@x.washington.edu   
      
   Frank Piron wrote:   
      
     > Yes, but it's a matter of convention because "NULL <> NULL" evaluates   
   > to null and thus is also not true. So two null values should never   
   > be considered different.   
   >   
   >> ++ mcs   
      
   Two nulls should never be evaluated ... there is nothing to consider.   
   So considering them the same or different is irrelevant.   
      
   CREATE TABLE t (   
   col1  NUMBER(1),   
   col2  VARCHAR2(1),   
   col3  DATE);   
      
   INSERT INTO t (col1) VALUES (1);   
   COMMIT;   
      
   What sense would it make to compare col2 and col3?   
   Would you consider them the same?   
   --   
   Daniel A. Morgan   
   University of Washington   
   damorgan@x.washington.edu   
   (replace 'x' with 'u' to respond)   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca