Skip to main content
Version: 0.0.1

TRANSACTION_TIMESTAMP

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

{{< codeheader "TRANSACTION_TIMESTAMP example" >}}

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