In the following SQL statement, NULL indicates the session calendar, TERADATA.
SELECT TD_FRIDAY(TIMESTAMP'2012-05-08 10:00:00',NULL,TIME'05:00:00');
Result:
2012-05-04 05:00:00
In the following SQL statement, NULL indicates the session calendar, TERADATA.
SELECT TD_FRIDAY(TIMESTAMP'2012-05-08 10:00:00',NULL,TIME'05:00:00');
Result:
2012-05-04 05:00:00