... results as XML. The FOR XML clause has the following syntax: FOR XML {RAW | AUTO | EXPLICIT} [, XMLDATA] [, ELEMENTS] [, BINARY BASE64] The RAW, AUTO, and EXPLICIT keywords indicate the XML ... shows a description of the keywords used in the FOR XML clause. In the next sections, you'll examine some examples of the use of the FOR XML clause. Table 16.1: FOR XML KEYWORDS KEYWORD ... CustomerID FOR XML RAW Note This SELECT statement is contained in a T-SQL script named ForXmlRaw.sql, which is located in the sql directory for this chapter. You can load the ForXmlRaw.sql T-SQL...