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 |
Meet OceanBase AI Lakebase, the unified database for operational data, real-time analytics, and AI.
Meet OceanBase AI Lakebase, the unified database for operational data, real-time analytics, and AI. Explore ->
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 |