Machine-translated by Google. Questions are authored in English.
Top

Discussion

FOR XML EXPLICIT tells SQL Server to place the values of the columns as attributes in the resulting XML document.

  • A.True
  • B.False

Answer: B

Correct answer: False

That is what FOR XML RAW does. FOR XML EXPLICIT gives the developer complete control over the shape of the result, allowing some columns to become elements and others attributes and the hierarchy to be nested as required - at the cost of a considerably more complicated query.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.