txid_current()

Returns the current transaction’s ID (a BIGINT). It will assign a new one if the current transaction does not have one already

Arguments & returns

txid_current()

Scalar
Overload link Returns
#01 UBIGINT

Example

txid_current example
SQL
Haybarn WASM 1.5.5-rc3 · In your browser

Engine example · Run to view results.