SQL Server FOR XML Enclosing Element?
-
11-11-2019 - |
문제
Using SQL Server 2008, I have a query that emits a result set using FOR XML. Right now it is a non-compliant fragment.
How can I wrap my result XML in an enclosing element and then put a simple XML declaration on top with a single schema/namespace reference to make the output compliant?
Thanks.
올바른 솔루션이 없습니다
제휴하지 않습니다 StackOverflow