May 26, 2004 09:26 PM
Enhanced FOR XML
Save time and trouble with the TYPE directive
Rating:

(0)
SQL Server Magazine
InstantDoc ID #42348
When I need to obtain an XML query result from my database, FOR XML is usually the first solution I try. Introduced in SQL Server 2000, FOR XML provides three modesRaw, Auto, and Explicitfor formatting the XML query result. (For details about these modes, see Dave Hulse's August 2000 .NET Developer Perspectives column, "The Three Modes of SQL Server XML," InstantDoc ID 9790.) Auto mode is generally my first choice because it provides a good balance between complexity and the flexibil...
...This article is for paid Professional Members only.
Already a Professional Member? Please log in now: