CodePudding user response:
Regular can't think of don't persistent, using substr ten minutes are notselect decode (substr (t1) STR, 16, 1),
'0',
Substr (t1. STR, 1, 15) | | 'A' | | substr (t1) STR, 17, 2),
T1. STR)
The from (select '123456789012345078' STR from dual) t1
;