On this page

    Categories: System

    TRANSACTION_TIMESTAMP

    Returns the timestamp in UTC of the current transaction. This function cannot be used in a reflection.

    Syntax

    TRANSACTION_TIMESTAMP() → timestamp

    Examples

    TRANSACTION_TIMESTAMP example
    SELECT TRANSACTION_TIMESTAMP()
    -- 2021-07-13 06:52:10.694000