LAST_TRANSACTION
functionsupportedQueries & DMLReturns the transaction ID of the last transaction that was either committed or rolled back in the current session.
Syntax
LAST_TRANSACTION()
LAST_TRANSACTIONReturns the transaction ID of the last transaction that was either committed or rolled back in the current session.
LAST_TRANSACTION()