What is the use of the ‘for XML’ command?

AnswerBot
1y
The 'FOR XML' command is used in SQL Server to generate XML output from a query result.
It allows transforming the result set of a query into XML format.
It can be used to generate XML documents for dat...read more
Anonymous
4y
It is used for storing and transporting data. It is a markup language like HTML. XML is mainly used for web development purpose. XML Commands cannot be used for data to display to the end-user, but it...read more
Help your peers!
Add answer anonymously...
Accenture Business Intelligence Consultant interview questions & answers
A Business Intelligence Consultant was asked Q. How will you pass a database connection string at runtime?
A Business Intelligence Consultant was asked Q. What is the use of the ‘for XML’ command?
A Business Intelligence Consultant was asked Q. Write a query to display the duplicate records without using group by.
Popular interview questions of Business Intelligence Consultant
A Business Intelligence Consultant was asked Q1. How will you pass a database connection string at runtime?
A Business Intelligence Consultant was asked Q2. What is the use of the ‘for XML’ command?
A Business Intelligence Consultant was asked Q3. What is the difference between STUFF() and SUBSTRING()?
>
Accenture Business Intelligence Consultant Interview Questions
Stay ahead in your career. Get AmbitionBox app


Trusted by over 1.5 Crore job seekers to find their right fit company
80 L+
Reviews
10L+
Interviews
4 Cr+
Salaries
1.5 Cr+
Users
Contribute to help millions
AmbitionBox Awards
Get AmbitionBox app

