![]() |
|
![]() |
![]() |
Archives of the TeradataForumMessage Posted: Mon, 05 May 2008 @ 21:45:53 GMT
<-- Anonymously Posted: Mon, 05 May 2008 16:16 --> Greetings, I'm trying to find some documentation as to why casting the date difference as an interval year(4) no longer works as it had previously. I think that we had recently changed to VERSION 06.02.02.26 RELEASE V2R.06.02.02.25. This used to return 7 and after the change it returns 8. Select ((1080505(date)) - (1000704(date))) year(4); This was really useful to determining the age in years, it's not anymore. I've come up with a case statement to do what I need, but I would still like to know why it changed. Best Regards
| ||||||||||||||||||||||||||||||||||||||||||||||
https: | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
![]() | ||||||||||||||||||||||||||||||||||||||||||||||||
Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
Last Modified: 28 Jun 2020 | ||||||||||||||||||||||||||||||||||||||||||||||||