TD_GETTIMEBUCKET Usage Notes | Teradata Vantage - 17.00 - Usage Notes - Teradata Database

Teradata Vantageā„¢ - Time Series Tables and Operations

prodname
Advanced SQL Engine
Teradata Database
vrm_release
17.00
created_date
June 2020
category
Programming Reference
featnum
B035-1208-170K

The TD_TIMEBUCKET column cannot be directly referenced in an SQL request, so you can use this function to see the TD_TIMEBUCKET value. This function can be referenced in any SQL request where a system function call is valid.

If an SQL request references more than one PTI table, use table_name.TD_TIMECODE to specify the table from which the TD_TIMEBUCKET is being retrieved.