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