按照大写的字母将name切割成两部分,并获取第二部分的值
select name, (regexp_split_to_array(name, '[A-Z]') ) [ 2 ]
from stock_location
where name like '%0%';
-- 按照大写的字母将name切割成两部分,并获取第二部分的值
name,regexp_split_to_array
06-1A05,05
06-1A06,06
06-1A01,01
06-1A10,10
06-1A11,11
06-1A12,12
06-1A13,13
06-1A02,02
06-1A03,03
06-1A04,04
06-1A07,07
06-1A08,08