怎么合并两个select * from table for xml auto的结果
select * from table for xml auto
查询结果为: <action id= "1 " />
select * from table1 for xml auto
查询结果为: <company cid= "51 " sintime= "2006-05-12 " spantime= "5 " />
怎么合并上面的两个查询结果为一个,如:
<action id= "1 " />
<company cid= "51 " sintime= "2006-05-12 " spantime= "5 " />
------解决方案--------------------up