![]() |
|
Archives of the TeradataForumMessage Posted: Wed, 03 Sep 2003 @ 15:13:15 GMT
Much simplier expression for what you are doing. Check into ANSIINTERVAL select avg((cast(timestampfield as time) - time '00:00:00.000000') hour to second) from table Brad
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||