The following SQL statement:
SELECT TD_WEEK_END(timestamp'2012-05-08 10:00:00');
returns 2012-05-12 23:59:59.
where no calendar specified indicates the session calendar, which in this example is TERADATA.
The following SQL statement:
SELECT TD_WEEK_END(timestamp'2012-05-08 10:00:00');
returns 2012-05-12 23:59:59.
where no calendar specified indicates the session calendar, which in this example is TERADATA.