|
|
Archives of the TeradataForum
Message Posted: Fri, 02 Jul 2004 @ 13:20:42 GMT
Subj: | | Re: Aiii, INTERVALs! |
|
From: | | Victor Sokovin |
| Yes, it's too much effort. There should be a seperate Masters exam solely for timestamps and intervals. | |
| Anyway, the first does what you want if you cast the DECIMAL(5,1) AS INTERVAL SECOND(4,1), at least on my machine. | |
| I guess rounding is difficult to implement with multi-part interval datatypes, where the round-up in the SECONDS part can spill over into
the MINUTE/HOUR/DAY parts? | |
| I wish they would just implement a full YEAR TO SECOND interval datatype with the ability to directly CAST ( TIMESTAMP AS YEAR TO SECOND )
and vice versa. Oh well ... | |
Not to forget fixing the bug in intervals with decimal part. Example here:
www.teradataforum.com/teradata/20040503_103846.htm
This one, in my opinion, should be on the short wish list, too.
Regards,
Victor
| |