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 |
OceanBase Database
Download PDF
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 |