By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
1 rows affected
| SUBSTR(T.VARIABLE,INSTR(T.VARIABLE,'*',1,2)+1,INSTR(T.VARIABLE,'*',1,3)-INSTR(T.VARIABLE,'*',1,2)) |
|---|
| 3012367134* |
| SUBSTR(T.VARIABLE,INSTR(T.VARIABLE,'*',1,2)+1,INSTR(T.VARIABLE,'*',1,3)-INSTR(T.VARIABLE,'*',1,2)-1) |
|---|
| 3012367134 |