Oracle中的substr方法
Oracle中的substr比较给力,以字符串abcde为例
select substr('abcde',1,3) as str from dual
结果abc
select substr('abcde',3,5) as str from dual
结果cde
select substr('abcde',3,50) as str from dual
不报错,结果cde
从1开始,到几就是第几位,简单易用
相关推荐
softwear 2020-08-21
eroshn 2020-06-21
sunzhihaofuture 2020-06-21
tanrong 2020-04-20
luckymaoyy 2020-04-08
herohope 2020-03-27
liuyang000 2019-12-30
niuyisheng 2013-06-29
缘起宇轩阁 2019-12-21
云之飞踢 2019-12-18
heray0 2019-12-07
哆来咪er 2019-11-19
东辉在线 2019-11-05
resilient 2019-11-04