identity is synonymous with the last_insert_id variable and can be queried by usingselect @@identity.
| Property | Description |
|---|---|
| Parameter type | Uint |
| Default value | 0 |
| Value range | [0, 18446744073709551615] |
| Effective scope | SESSION |
OceanBase Database
Download PDF
identity is synonymous with the last_insert_id variable and can be queried by usingselect @@identity.
| Property | Description |
|---|---|
| Parameter type | Uint |
| Default value | 0 |
| Value range | [0, 18446744073709551615] |
| Effective scope | SESSION |