Archives of the TeradataForum
Message Posted: Tue, 25 Feb 2003 @ 19:43:01 GMT
<-- Anonymously Posted: Tuesday, February 25, 2003 14:39 -->
Have you tried to do date calculations?
For instance SELECT ...WHERE (a.FLT_ORIG_DT/100+190000) BETWEEN 200209 and 200212;
The calculation is based on the numeric representation of a date in Teradata. date/100+190000 will give you the year multiplied by 100 plus the month. Could be little bit dangerous if they change the representation....
|Copyright 2016 - All Rights Reserved|
|Last Modified: 27 Dec 2016|