Home Page for the TeradataForum

Archives of the TeradataForum

Message Posted: Fri, 28 Mar 2008 @ 21:56:33 GMT

  <Prev Next>   <<First <Prev Next> Last>>  

Subj:   Re: Query using UNION
From:   Poston, Donna

Hi Kishore, you can use the sys_calendar.calendar view.

     Select dob from emp
     select calendar_date from sys_calendar.calendar
     where calendar_date = date - 30

  <Prev Next>   <<First <Prev Next> Last>>  
  Top Home Privacy Feedback  
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 28 Jun 2020