Contents Index FOR XML and NULL values FOR XML examples

ASA SQL User's Guide
  Using XML in the Database
    Obtaining query results as XML
      Using the FOR XML clause to retrieve query results as XML

Invalid column names

Adaptive Server Anywhere uses the following rules for encoding names that are not legal XML names (for example, column names that include spaces):

For information about the syntax of the FOR XML clause, see SELECT statement.

Tip 
When executing queries that contain a FOR XML clause in Interactive SQL, you may wish to increase the column length by setting the TRUNCATION_LENGTH option.

For information about setting the truncation length, see TRUNCATION_LENGTH option [ISQL] and Options dialog: Results tab.


Contents Index FOR XML and NULL values FOR XML examples