oracle将一个字符插入到一个字符串中指定位置,该用什么函数,如果要删除某字符串中的某个指定位置的字符用什么函数,求教,在线等
update group_test set name = substr(name,0,4)||'x'||substr(name,4+1,length(name)) where rownum = 1
length() 和 instr()这两个应该可以的
如果位置是固定的,使用substrb函数再拼接,如果无法固定但呈一定规则,可以使用regexp_系列函数尝试。