Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Mon, 11 Nov 2002 @ 16:58:00 GMT


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


Subj:   Re: Case syntax problem
 
From:   Mohommod Khan

Jim:

Try this:

SELECT (CASE
    WHEN Al1.Itin_Cmpmt_Cd = 'C' OR Al1.Itin_Cmpmt_Cd ='F'
      THEN  'P'
      ELSE 'E'
  END  ) (CHAR(1)) (title ' "Cabin_Class" ')


     
  <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: 15 Jun 2023