16.20 - 例: SELECT WEEK - Teradata Database - Teradata Vantage NewSQL Engine

Teradata Vantage™ SQL日付と時刻の関数および式

Product
Teradata Database
Teradata Vantage NewSQL Engine
Release Number
16.20
Release Date
2019年3月
Content Type
プログラミング リファレンス
Publication ID
B035-1211-162K-JPN
Language
日本語 (日本)

SELECT WEEKの使用例:

select week(date);
select week(current_date);
select week(date '1900-01-01');
select week(date '1899-12-31');
select week(date '1700-05-31');
select week(date - interval '300' year);
select week(date - interval '6' month);
select week(date - interval '150' day);