Skip to Content
A Developer’s Guide to SQL Server 2005
book

A Developer’s Guide to SQL Server 2005

by Bob Beauchemin, Dan Sullivan
April 2006
Intermediate to advanced
1088 pages
24h 51m
English
Addison-Wesley Professional
Content preview from A Developer’s Guide to SQL Server 2005

9. XML in the Database: The XML Data Type

SQL SERVER 2005 introduces a new scalar data type, the XML data type. XML is a first-class data type in SQL Server now, and this has a wide-ranging impact on the use of XML.

The XML Data Type

A new type of data has gained popularity in recent years: XML. XML has evolved from a simple data transfer format to a data model that includes its own schema-definition vocabulary, XSD, as well as query languages. In this chapter, we’ll look at the XML data type and see how it differs from conventional CLOB (character large object field, called TEXT field in SQL Server) storage of an XML document.

You can use the XML data type like any other data type in SQL Server. It can be used in the following ways:

• As a column ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Inside Microsoft® SQL Server™ 2005

Inside Microsoft® SQL Server™ 2005

Itzik Ben-Gan, Lubor Kollar, Dejan Sarka
Microsoft® SQL Server® 2008 Bible

Microsoft® SQL Server® 2008 Bible

Paul Nielsen, Mike White, Uttam Parui
Microsoft® SQL Server 2005 Unleashed

Microsoft® SQL Server 2005 Unleashed

Ray Rankins, Paul Bertucci, Chris Gallelli, Alex T. Silverstein, Tudor Trufinescu, John Kane

Publisher Resources

ISBN: 0321382188Purchase book