identity is synonymous with the last_insert_id variable and can be queried by using select @@identity.
Attribute |
Description |
|---|---|
| Type | UInt |
| Default value | 0 |
| Value range | [0, 18446744073709551615] |
| Applicable scope | Session |
Meet OceanBase AI Database, the unified database for operational data, real-time analytics, and AI. Explore ->
Meet OceanBase AI Database, the unified database for operational data, real-time analytics, and AI. Explore ->
identity is synonymous with the last_insert_id variable and can be queried by using select @@identity.
Attribute |
Description |
|---|---|
| Type | UInt |
| Default value | 0 |
| Value range | [0, 18446744073709551615] |
| Applicable scope | Session |
Previous topic