错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Building XML

  • Alex Grinberg,
  • Anna Landy

摘要

XML is represented in SQL Server using a complex data type that has special syntax and a well-defined format. It can be used when we need to construct XML-formatted output or shred existing XML into relational format. In this chapter, I will provide recipes for building XML from a result set based on one or more tables and for formatting and presenting the result as XML output.