摘要: --字符串拆分成行 declare @str varchar(8000) set @str = 'a1,b1,c2,d1,e3,f5' --,换成 union all select set @str = 'select name='''+replace(@str,',',''' union all 阅读全文
posted @ 2016-12-30 09:10 加菲猫21 阅读(624) 评论(0) 推荐(0) 编辑