SQL 去除某个字符后的所有字符?

2025-06-21 06:46:57
推荐回答(1个)
回答1:

Oracle:
substr(x,1,instr(x,'幢'))
selserver:大概是
substr(x,1,charindex(x,'幢'))