Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 05 Aug 2004 @ 18:15:57 GMT


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


Subj:   Using a parameter in a macro
 
From:   srinivas subbarao

Any ideas on this is appreciated.

I've a simple programming question in teradata.

Consider a big table having AGE as one of its columns.

Now I've to write a generic query that will query this table and pull records based on conditions only on AGE column like '> 12' or '< 30' or '<=15' etc

I'm going to get this condition as parameter in macro and I need to plug it in my where clause and the correct condition should be interpreted 'AGE >12 ' or 'AGE < 30'

Please suggest me some ideas on how to code this.

I only have access to Queryman tool.


Thanks,

Teradata newbie



     
  <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