Oracle 按数字分割字符串

Oracle 按数字分割字符串,oracle,Oracle,我有这个 选择('130.067'| |'**')作为“赢” 来自双重 我需要在每个数字和*之间加一个空格(“”),得到这样的结果 “130.067****” 查询1: SELECT REGEXP_REPLACE( '130.067'||'****', -- String to match '([0-9.*])', -- Match a digit or full stop or star ' \1', -

我有这个

选择('130.067'| |'**')作为“赢”
来自双重

我需要在每个数字和*之间加一个空格(“”),得到这样的结果

“130.067****”

查询1

SELECT REGEXP_REPLACE(
         '130.067'||'****', -- String to match
         '([0-9.*])',       -- Match a digit or full stop or star
         ' \1',             -- Replace with space then matched character
         2                  -- Start at the 2nd character
       ) AS win
FROM   DUAL
|                   WIN |
|-----------------------|
| 1 3 0 . 0 6 7 * * * * |

SELECT REGEXP_REPLACE(
         '130.067'||'****', -- String to match
         '([0-9.*])',       -- Match a digit or full stop or star
         ' \1',             -- Replace with space then matched character
         2                  -- Start at the 2nd character
       ) AS win
FROM   DUAL
|                   WIN |
|-----------------------|
| 1 3 0 . 0 6 7 * * * * |
看这里: