Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.databases.ms-sqlserver    |    Notorious Rube Goldberg contraption    |    19,505 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 17,659 of 19,505    |
|    Plamen Ratchev to All    |
|    Re: Coalesce and better?    |
|    02 Oct 09 10:35:25    |
   
   bfa32ce5   
   From: Plamen@SQLStudio.com   
      
   You can use the IN predicate:   
      
   SELECT txt   
   FROM XYZ   
   WHERE txt IN ('good', 'better', 'best');   
      
   The purpose of the COALESCE function is completely different, it is for   
   handling NULLs.   
      
   --   
   Plamen Ratchev   
   http://www.SQLStudio.com   
      
   --- 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