May 2002
Beginner
408 pages
9h 10m
English
In Hour 8, “Using the DataReader and DataAdapter,” you learned how to use the DataReader object to handle a stream of data returned from Microsoft SQL Server. The XmlReader object is a close cousin of the DataReader object and is used in much the same way, with XML. In the next few sections, you'll learn about some new features of Microsoft SQL Server 2000 and the XmlReader object.
Microsoft SQL Server 2000 ships with numerous improvements and features not present in previous versions of SQL Server. One of my favorite new additions found in SQL Server 2000 is the ability to retrieve data in native XML format. If you add the keywords “FOR XML” to the end of your database query, the server will ...
Read now
Unlock full access