HI
SELECT ProductModelID, Name
FROM Production.ProductModel
WHERE ProductModelID=122
or ProductModelID=119
FOR XML RAW
O/P:
<row ProductModelID="119" Name="Bike Wash"/><row ProductModelID="122" Name="All-Purpose Bike Stand"/>
If i save this in XML and Run it is getting error(XML document cannot contain multiple root level elements ) why?, how to get this without error i need to save this in XML and run
Which modes(RAW,AUTO,EXPLICIT,PATH) can be better