Home Page for the TeradataForum
 
 

 

Archives of the TeradataForum





Message Posted: Tue, 25 Mar 2008 @ 10:57:57 GMT





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




Subj:   Alias field into table
 
From:   Anomy Anom



<-- Anonymously Posted: Tue, 25 Mar 2008 10:06 -->

Dear all

     select field1 as "month"
     from table a

I need the alias "month" to be a variable, every end of month I want to run a query having a field with the name of the previous month, I wonder if it is possible.

Thanks for helping





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