last_insert_id returns the last inserted auto-increment field value in the current session. Attribute Description Type UInt Default value 0 Value range [0, 18446744073709551615] Applicable scope Session