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