Categories: Context

TRANSACTION_TIMESTAMP

Returns the timestamp in UTC of the current transaction.

Syntax

TRANSACTION_TIMESTAMP() → timestamp

Examples

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