| <Employee EmployeeID="Emp-6" LastName="Suyama" FirstName="Michael" Title="Sales Representative" /> <OrderDetail ProductID="Prod-28" UnitPrice="45.6" Quantity="15"> <Discount>0.25</Discount> </OrderDetail> <OrderDetail ProductID="Prod-39" UnitPrice="18" Quantity="21"> <Discount>0.25</Discount> </OrderDetail> <OrderDetail ProductID="Prod-46" UnitPrice="12" Quantity="2"> <Discount>0.25</Discount> </OrderDetail> </Order> </Northwind>
小结
通过使用上面我介绍的几种技术,我们可以直接从SQL Server 2000数据库中直接取得XML数据。如我所介绍,URL查询、XML模板文件、XDR架构和XPath查询提供了强大的功能,从SQL Server 2000中直接获得XML数据。除此之外,还有很多重要的概念,由于篇幅有限在本文中不可能详述,如FOR XML EXPLICIT查询和OPENXML这些技术,我会在以后的文章中进一步进行讨论,请大家等待。
|
| 共7页: 上一页 [1] [2] [3] [4] [5] [6] 7 下一页 |
评论加载中…