The following SQL statement:
SELECT TD_FRIDAY(TIMESTAMP'2012-05-08 10:00:00',NULL,TIME'05:00:00');
returns 2012-05-04 05:00:00.
where NULL indicates the session calendar, which in this case is TERADATA.
The following SQL statement:
SELECT TD_FRIDAY(TIMESTAMP'2012-05-08 10:00:00',NULL,TIME'05:00:00');
returns 2012-05-04 05:00:00.
where NULL indicates the session calendar, which in this case is TERADATA.