|
|
|
| |
Menu |
|
|
| |
|
|
| |
|
|
|
|
 |
|
|
Total Articles: 3,369
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
With the release of SQL Server 2000, Microsoft has started to make good on its new mission statement: to provide access to data and applications "anywhere, anytime, and on any device." At the center of this vision is support for XML, which Microsoft integrated into SQL Server 2000. XML's self-describing nature and cross-platform capabilities give SQL Server the ability to easily exchange data with Web applications and other systems. Paul Burke's "XML and SQL Server 2000," May 2000, and Bob Beauchemin's "The XML Files," September 2000, gave you overviews of SQL Server 2000's XML features. Now, let's dig into how OLE DB and ADO 2.6 support three key XML features: retrieving XML from stored procedures, executing templates, and executing XPath queries against XML views.
|
|
Type: SQLXML
#Views: 421
Category: Article
|
|
|
The IT community's burgeoning interest in anything XML has spilled over to SQL Server 2000, which ships with XML capability. Developers are using SQL Server 2000's XML features to write queries that use the FOR XML clause to return results in XML format, to query SQL Server through HTTP, and to program in XML's XPath query language. (For an overview of SQL Server 2000's XML features, see Bob Beauchemin, "The XML Files," September 2000.) In this article, I show you how to engage one of these XML features—SQL Server 2000's FOR XML clause—to produce a well-formed XML document that another system can easily read and process. The FOR XML clause, which you use in a T-SQL SELECT statement, lets you write a SQL query that returns XML directly from the SQL Server query engine. Without the FOR XML clause, you must parse the query results through an XML parser or generate XML in a custom application.
|
|
Type: SQLXML
#Views: 514
Category: Article
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Featured
Products |
Advertise on
XMLPitstop
|
Our
Sponsors |
Advertise on
XMLPitstop
|
Partners |
|
Friends |
|
Statistics |
4,312 Total Members
6 members(last 30 days)
1 members(last 7 days)
0 members(today)
1,953 Total Discussions
0 Posts(last 30 days)
0 Posts(last 7 days)
0 Posts(today)
47,487 Total Blog Posts
0 Blogs(last 30 days)
0 Blogs(last 7 days)
0 Blogs(today)
8,699 Newsgroup Posts
0 Posts(last 30 days)
0 Posts(last 7 days)
0 Posts(today)
14,253 Total Resources
11 Resources(last 30 days)
0 Resources(last 7 days)
0 Resources(today)
|
|
|
| |
|