Archives of the TeradataForum
Message Posted: Tue, 25 Mar 2008 @ 15:58:16 GMT
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.
|Copyright 2016 - All Rights Reserved|
|Last Modified: 23 Jun 2019|