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