In the following SQL statement, where NULL indicates the session calendar, TERADATA.
SELECT TD_SATURDAY(TIMESTAMP'2012-05-08 10:00:00',NULL,TIME'05:00:00+03:00');
Result:
2012-05-05 02:00:00
In the following SQL statement, where NULL indicates the session calendar, TERADATA.
SELECT TD_SATURDAY(TIMESTAMP'2012-05-08 10:00:00',NULL,TIME'05:00:00+03:00');
Result:
2012-05-05 02:00:00