摘要: Oracle instr函数与substr函数以及自制分割函数 instr通常被用来作为判断某个字符串中是否含有执行字符串和将返回结果作为一些数据分割的数据,即有模糊查询like的作用,当返回的查询结果的序号为0的时候就是没有匹配上 substr函数就是很简单明了,就是个截取字符函数 instr函数 阅读全文
posted @ 2023-07-27 11:29 DbWong_0918 阅读(404) 评论(0) 推荐(0) 编辑
摘要: ## Oracle 在PL/SQL将字符串分割输出 示例如下: ``` declare begin for maina in (select tt.line ll from (select regexp_substr('a,b,c,d', '[^,]+',1,level) line from dua 阅读全文
posted @ 2023-07-27 09:46 DbWong_0918 阅读(157) 评论(0) 推荐(0) 编辑