我想抓取:在oracle中有五位数字没有值。 我的数据看起来这种格式。如何在oracle中取5个数字的特殊字符?
this :years 2016 only department :12345
aign:BR-PESP-THELIMITED-:30510
:thiss and :years 2016 only department :12345
travel visa :34322 LLL001
我使用这个查询
substring(check1,regexp_instr(check1,':'),6)
my current o/p:
years
BR-PE
thiss
34322
my expected o/p
12345
30510
12345
34322
什么是你想回来? –
:12345,然后是下一行30510,然后是下一行12345,然后是下一行34322 – Velu
这是一个字符串还是一列?你可以请[编辑]你的问题,以包含_exactly_你想要返回什么? – Ben