Is there any way to get a root element into a FOR XML AUTO query?
For example:
Each record for tableB is nested properly within the tableA result, but there is no root node above tableA's results.
I've seen examples using SQL Server over IIS, but that isn't an option in this case.
For example:
Code:
select * from tableA
join tableB on tableA.id = tableB.idA
for xml auto
I've seen examples using SQL Server over IIS, but that isn't an option in this case.