![]() |
|
Archives of the TeradataForumMessage Posted: Fri, 26 Oct 2007 @ 20:56:29 GMT
Something I could quickly think of, is to use the teradata RANDOM(n,m) function to retrieve a date from Sys_Calendar.calendar view.
SELECT CALENDAR_DATE
FROM Sys_Calendar.Calendar
WHERE day_of_calendar = RANDOM(
Joseph D'silva
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| | |||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||
|
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | |||||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | |||||||||||||||||||||||||||||||||||||||||||||||||||