We can retriev table data in xml format by using For xml 4 different modes.
Please see the below examples for reference.
Output of the above script
Monday, August 29, 2011
How to Parse XML data using XML type?
What is XML Type in SqlServer?
Tuesday, August 9, 2011
What is Difference Between Out and Ref keyword in C#?
Out & Ref keywords in C# are used for returning multiple values from a function.
Difference:
Out parameter need to be initialized inside the body of a method but not in the case of ref parameter.
Subscribe to:
Posts (Atom)