Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 25 Jan 2000 @ 22:43:33 GMT


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


Subj:   Re: More obfuscated SQL
 
From:   Pekka Kostamaa

The parser works as expected. The 'double dash' indicates the start of an ANSI comment. In other words, anything from the -- to the end of the line is treated as a comment. When you split the double dashes (- -), they're treated as a dyadic and unary minus sign, which gives the expected "correct answer" results.



     
  <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