![]() |
|
Archives of the TeradataForumMessage Posted: Tue, 25 Mar 2008 @ 10:57:57 GMT
<-- 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
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||