![]() |
|
Archives of the TeradataForumMessage Posted: Fri, 08 Dec 2006 @ 12:41:30 GMT
<-- Anonymously Posted: Friday, December 08, 2006 06:52 --> Are you obligated to export the date out to a flat file? What happens if you leverage the sys_calendar.calendar view?
explain
select *
from staging.global_omniture_hit
, sys_calendar.calendar
where cast(omniture_date_time as date ) = calendar_date
and calendar_date = date
;
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||