📜  postgres 从字符串中提取数字 - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:02.239000             🧑  作者: Mango

代码示例1
SELECT NULLIF(regexp_replace(po_number, '\D','','g'), '')::numeric AS result
FROM   tbl;