![]() |
|
Archives of the TeradataForumMessage Posted: Fri, 28 Mar 2008 @ 21:56:33 GMT
Hi Kishore, you can use the sys_calendar.calendar view.
Select dob from emp
Union
select calendar_date from sys_calendar.calendar
where calendar_date = date - 30
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||