首批通过分布式安全可靠测评,为关键业务系统打造
identity
更新时间:2026-06-06 13:49:29
identity 和变量 last_insert_id 是同义词,可以通过 select @@identity 查询。
| 属性 | 描述 |
|---|---|
| 参数类型 | uint |
| 默认值 | 0 |
| 取值范围 | [0, 18446744073709551615] |
| 生效范围 | SESSION |
更新时间:2026-06-06 13:49:29
identity 和变量 last_insert_id 是同义词,可以通过 select @@identity 查询。
| 属性 | 描述 |
|---|---|
| 参数类型 | uint |
| 默认值 | 0 |
| 取值范围 | [0, 18446744073709551615] |
| 生效范围 | SESSION |