Home Page for the TeradataForum
 
 

 

Archives of the TeradataForum





Message Posted: Tue, 25 Jan 2000 @ 21:36:57 GMT





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




Subj:   Re: More obfuscated SQL
 
From:   Barry Hull



It appears to work ok if you put a space between the two negative signs like this:

     sel case when +1- -1=+1 or
                   +1++1=+3
              then 'wrong answer'
              else 'correct answer'
              end
     ;




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