O'Reilly logo

Guru's Guide to SQL Server™ Stored Procedures, XML, and HTML, The by Ken Henderson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Accessing SQL Server over HTTP

The first thing you should do to begin working with XML data in Transact-SQL is to set up an IIS virtual directory using the Configure SQL XML Support in IIS menu option in the SQL Server program folder. Note that you can use ADO to process XML data from SQL Server without setting up a virtual directory. You may take this approach, for example, when building components that provide business processing functionality on top of processing the documents themselves.

Configuring a virtual directory allows you to work with SQL Server's XML features via HTTP. This opens up all sorts of possibilities. To begin with, it allows you to create data-driven Web sites with far less work than technologies such as ASP and JSP would ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required