摘要:
--行转列 固定xml语法 declare @xml xml ; set @xml=cast('243' as xml); select tab.val.value('.'/*xpath 语法*/,'nvarchar(100)') d from @xml.nodes('/v') tab(val) --outer apply 是可以用到前面表的变量 select * from (selec... 阅读全文
posted @ 2017-12-15 11:08
威尔逊
阅读(547)
评论(0)
推荐(0)

浙公网安备 33010602011771号