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

时间:2016-11-17 11:00:16
【文件属性】:
文件名称:SQL实现字符串拆分2函数:splitstr,GetCharItem
文件大小:1KB
文件格式:TXT
更新时间:2016-11-17 11:00:16
SQL split 拆分 字符串 --用法 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

网友评论