CURRENT_TIMESTAMP Function | VantageCloud Lake - CURRENT_TIMESTAMP - Teradata Vantage

Teradata® VantageCloud Lake

Deployment
VantageCloud
Edition
Lake
Product
Teradata Vantage
Published
January 2023
ft:locale
en-US
ft:lastEdition
2024-12-11
dita:mapPath
phg1621910019905.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
phg1621910019905

Returns the current timestamp.

The fields in CURRENT_TIMESTAMP are:
  • YEAR
  • MONTH
  • DAY
  • HOUR
  • MINUTE
  • SECOND

    The seconds precision of the result of CURRENT_TIMESTAMP is limited to hundredths of a second. CURRENT_TIMESTAMP returns zeros for any digits to the right of the two most significant digits in the fractional portion of seconds.

  • TIMEZONE_HOUR
  • TIMEZONE_MINUTE
Also see CREATE PROCEDURE (SQL Form).

ANSI Compliance

This statement is ANSI SQL:2011 compliant, but includes non-ANSI Teradata extensions.