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

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

Product
Teradata Database
Teradata Vantage NewSQL Engine
Release Number
16.20
Published
2019年3月
Language
日本語
Last Update
2019-10-29
dita:mapPath
ja-JP/pxz1544241488545.ditamap
dita:ditavalPath
ja-JP/pxz1544241488545.ditaval
dita:id
B035-1211
Product Category
Software
Teradata Vantage

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);