Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 25 Mar 2008 @ 15:58:16 GMT


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


Subj:   Re: Alias field into table
 
From:   Victor Sokovin

Joerg, I understood the question slightly differently. I thought the OP wanted to have the column title as "February" if he/she executed the query in March, "January" - if in February, "August" - if in September, etc.

So, the title of the column is a variable, and the value of the variable is set dynamically depending on the current date.

In your example, "as month" will always display "month" in the column title.

I do not claim my understanding of the question is correct (the formulation was a bit cryptic) but this is how I interpreted and answered it.


Victor



     
  <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: 27 Dec 2016