last_insert_id returns the last inserted auto-increment field value in the current session.
| Property | Description |
|---|---|
| Parameter type | Uint |
| Default value | 0 |
| Value range | [0, 18446744073709551615] |
| Effective scope | SESSION |
OceanBase Database
Download PDF
last_insert_id returns the last inserted auto-increment field value in the current session.
| Property | Description |
|---|---|
| Parameter type | Uint |
| Default value | 0 |
| Value range | [0, 18446744073709551615] |
| Effective scope | SESSION |