# `NewId2` (function) > 生成27位纯数字的ID 模仿后台Java代码生成 - **Type:** FUNCTION - **Returns:** `varchar` - **Deterministic:** NO - **SQL data access:** CONTAINS SQL - **Created:** 2026-04-27 19:10:17 - **Last altered:** 2026-04-27 19:10:17 ## Parameters | # | Mode | Name | Type | |---|---|---|---| | 0 | RETURN | `` | `varchar(32)` | ## Body _Body is not pre-cached. To inspect: `mysql --defaults-file=~/.my.cnf -e 'SHOW CREATE FUNCTION `NewId2`'`._ ## Narrative _No human-written narrative yet._