SQL实现字符串拆分2函数:splitstr,GetCharItem

wangjiafu57404 35 0 TXT 2019-04-15 11:04:20

--用法 select * from dbo.splitstr('a,b,c,d,e') --返回表格 a b c d e --用处 select * from tbtable where ZID in (select ZValue from dbo.splitstr('a,b,c,d,e')) --用法 select dbo.GetCharItem('A,B,C,DE,F,GH',',',4) --返回 DE

用户评论
请输入评论内容
评分:
暂无评论