XML

Getting Started With XML Indexes

  • Article

XML Indexes make a huge difference to the speed of XML queries, as Seth Delconte explains; and demonstrates by running queries against half a million XML employee records. The execution time of a query is reduced from two seconds to being too quick to measure, purely by creating the right type of secondary index for the query.

2012-10-25

2,575 reads

Converting String Data to XML and XML to String Data

  • Article

In general XML documents or fragments are held in strings as text markup. In SQL Server, XML variables and columns are instead tokenised to allow rapid access to the data within. This is fine, but can cause some odd problems, such as ' entitization'. What do you do if you need to preserve the formatting? As usual Rob Sheldon comes to our aid.

2012-02-07

4,207 reads

Incorporating XML into your Database Objects

  • Article

XML data can become a full participant in a SQL Server Database, and can be used in views, functions, check constraints, computed columns and defaults. Views and table-valued functions can be used to provide a tabular view of XML data that can be used in SQL Expressions. Robert Sheldon explains how.

2012-01-20

2,557 reads

The XML Methods in SQL Server

  • Article

The XML Data type has definite uses, but the way of interrogating, retrieving, and manipulating the values of properties and attributes within XML have been so foreign to the SQL language as to be somewhat of a barrier to their use. Fortunately, Robert Sheldon has once more managed to make the subject accessible to those of us who just need to get the job done.

2012-01-03

3,706 reads

Blogs

SQL Server Sample Databases

By

[MSSQLFUN & Decode ITeS becomes a family of 1500 individuals across the globe. Please...

Using WAITFOR to Test Slow Code–#SQLNewBlogger

By

Another post for me that is simple and hopefully serves as an example for...

Power BI Monthly Digest – May 2020

By

This month we will likely have two releases of the Power BI Desktop. In...

Read the latest Blogs

Forums

The Challenges of Working Under Quarantine

By Steve Jones - SSC Editor

Comments posted to this topic are about the item The Challenges of Working Under...

Upgrade SQL 2008R2 Cluster to SQL 2017

By AdamJSawyer

Hi, I've been asked to develop an implementation plan for upgrading a SQL 2008R2...

The Basics of Using a Sequence as a Table Default

By Steve Jones - SSC Editor

Comments posted to this topic are about the item The Basics of Using a...

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers