Archives of the TeradataForum
Message Posted: Tue, 25 Mar 2008 @ 10:57:57 GMT
<-- Anonymously Posted: Tue, 25 Mar 2008 10:06 -->
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
|Copyright 2016 - All Rights Reserved|
|Last Modified: 27 Dec 2016|