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,115 of 2,288   
   Michael Hill to All   
   using case, Valid statement?   
   19 Feb 04 10:27:15   
   
   From: hillmw@ram.lmtas.lmco.com   
      
   Is this a valid sql statement:   
      
   SELECT 	   
   case field1   
   	 when 'first' then 1   
   	 when 'second' then 1   
   	 else null   
   end   
   FROM	mytable   
      
   Mike   
      
   --- 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