CURRENT_TIMESTAMP

Decimal precision in time.

Severity

Low

Description

Fractional seconds are only displayed if it is explicitly set in the TIME_OUTPUT_FORMAT session parameter.

Input code:

IN -> Teradata_01.sql
SELECT current_timestamp(4) at local;

Output code:

OUT -> Teradata_01.sql
SELECT
current_timestamp(4);

Recommendations

  • Check if the TIME_OUTPUT___FORMAT session parameter is set to get the behavior that you want.

  • If you need more support, you can email us at snowconvert-support@snowflake.com

Last updated