![]() |
|
![]() |
![]() |
Archives of the TeradataForumMessage Posted: Sat, 10 Jan 2009 @ 08:46:44 GMT
How about joining the date portion of the time stamp to the calendar table and subtracting the day_of_calendar ?
| ||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||