Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT
SELECT o.OrderID AS "Order/OrderID", o.OrderNumber AS "Order/OrderNumber", o.BillToFirstName AS "Order/BillToFirstName", o.BillToLastName AS "Order/BillToLastName", (Select p.Amount from ac_Payments p where p.OrderID = o.OrderID FOR XML PATH ('')) AS "Order/Payments/Amount" FROM ac_Orders AS o INNER JOIN ac_OrderItems as oi ON o.OrderID = oi.OrderID WHERE o.OrderID=104 FOR XML PATH ('O'), ROOT ('Orders'), ELEMENTS;
<Orders> <O> <Order> <OrderID>104</OrderID> <OrderNumber>104</OrderNumber> <BillToFirstName>Jean</BillToFirstName> <BillToLastName>Denny</BillToLastName> <Payments> <Amount><Amount>39.4400</Amount></Amount> </Payments> </Order> </O> <Orders>
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.