Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 19 Apr 2002 @ 14:52:14 GMT


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


Subj:   Obfuscated SQL: something fun for a change
 
From:   Jeremy Christiasnen

Here's a new one. This is the archetypal "Hello World!" program written in SQL. It only works with Queryman (as far as I know). It takes advantage of two layers of parsing: one by Queryman and one by Teradata. See if you can figure it out.

Note: this message is not a question but rather an exercise in syntactical understanding. If you are interested in the "spoiler" email me directly. Please do not flood the TData list with posts regarding this memo, as there are some that think this is a waste of time.

        (--(--(
   --sel((sel))sel--
    s/*-'*/e/*'-*/l
         /*'*\
          sel
         \*'*/
        '/*'*\'
 ----------------------
 -- /*'||'Hello'||'c --
 -- */48656c6c6f'xcv --
 -- 1'23-45""67-89'0 --
 -- ##/*(/'**'/)*/## --
    /*'*/||#'!'n/*/'
 -- */whe/*ere*/re/* --
 -- */"!"cne'20'xc/* --
 -- **/||'World!'/** --
 -- )")'*/(named"#") --
 ----------------------
        )--)--)
           ;


     
  <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