MS SQL Server XML Integration Question:
Download Job Interview Questions and Answers PDF
What is FOR XML in SQL Server?
Answer:
FOR XML allows data to be retrieved in an XML format. The FOR XML clause needs to be mentioned at the end of SELECT statement. There are three modes of FOR XML:-
RAW mode: - An XML element is formed for each row in the query results.
AUTO mode: - The query results are returned as nested XML elements.
Explicit mode: - the format of the XML document returned by the query can be completely controlled by the query.
RAW mode: - An XML element is formed for each row in the query results.
AUTO mode: - The query results are returned as nested XML elements.
Explicit mode: - the format of the XML document returned by the query can be completely controlled by the query.
Download SQL Server XML Integration Interview Questions And Answers
PDF
Previous Question | Next Question |
What are XML indexes? | What is the OPENXML statement in SQL Server? |