Home Page for the TeradataForum
 
 

 

Archives of the TeradataForum





Message Posted: Fri, 20 Feb 2004 @ 16:56:13 GMT





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




Subj:   Re: Nested case statements
 
From:   Dieter Noeth



Karen Gebhard wrote:

  Can you nest case statements in Teradata and if so, what would the syntax be?  



The parser is complaining?

Try to enclose the nested CASE/ENDs in parenthesis:

CASE WHEN condition_is_true  ...
  THEN (CASE ... END) ...

Dieter





     
  <Prev Next>   <<First <Prev
Next>
Last>>
 
 
 
 
 
 
 
 
 
  
 
  Top Home Join Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky 
Last Modified: 30 Jun 2008