Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 11 May 2006 @ 16:57:28 GMT


     
  <Prev Next>  
<<First
<Prev
Next> Last>>  


Subj:   CASE with LIKE operator
 
From:   Kambhoji, Naveen

Can someone provide me syntax for a valued CASE expression with LIKE operator?

I am looking for something like

     sel  case a
     when like '%app%' Then Apple
     When like '%mic%' Then Microsoft
     END case.

Thanks,

Naveen.



     
  <Prev Next>  
<<First
<Prev
Next> Last>>  
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 27 Dec 2016