﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" version="2.0"><channel><title>SQLServerCentral.com Articles tagged xml</title><link>http://www.sqlservercentral.com/</link><description>Articles tagged xml posted on SQLServerCentral.com</description><language>en-us</language><ttl>360</ttl><managingEditor>sjones@sqlservercentral.com (Steve Jones)</managingEditor><item><title>Loading XML Data into SQL Server (SQL Spackle)</title><description><![CDATA[<p>Learn how to load data in an XML file into a table in SQL Server.</p>]]></description><guid>http://www.sqlservercentral.com/articles/XML/71659/</guid><pubDate>Fri, 31 May 2013 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/articles/XML/71659/</link></item><item><title>Using XML from data variable option in SSIS</title><description><![CDATA[<p>Learn how you can manipulat XML documents solely in memory. No file required.
</p><!-- Fast small checked (SQL Backup) -->
<table border="0" cellpadding="0" cellspacing="10" style="width: 100%;"> <colgroup>  <col width="68" />  <col width="1266" /> </colgroup> <tbody>  <tr align="left" valign="top">   <td>    <a href="http://www.red-gate.com/products/dba/sql-backup/version-7/?utm_source=ssc&utm_medium=pubad&utm_content=fast_small_checked&utm_campaign=sqlbackup&utm_term=rss-20230"><img src="http://assets.red-gate.com/external/SSC/backup3d_68x68.gif" alt="sqlbackup"></td>   <td><strong>Want faster, smaller backups you can rely on?</strong><br />Use SQL Backup Pro for up to 95% compression, faster file transfer and integrated DBCC CHECKDB.  <a href="http://www.red-gate.com/products/dba/sql-backup/version-7/?utm_source=ssc&utm_medium=pubad&utm_content=fast_small_checked&utm_campaign=sqlbackup&utm_term=rss-20230">Download a free trial now. </a></td>  </tr> </tbody></table>


]]></description><guid>http://www.sqlservercentral.com/articles/SQL+Server/97947/</guid><pubDate>Wed, 15 May 2013 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/articles/SQL+Server/97947/</link></item><item><title>Ad-Hoc XML File Querying</title><description><![CDATA[<p>When you need to shred just part of the data within a large XML file into a SQL Server table, the most efficient way is to just select what you need via XQuery or by using XPath, before shredding it into a table. But precisely how would you do that?</p>]]></description><guid>http://www.sqlservercentral.com/redirect/articles/97775/</guid><pubDate>Thu, 28 Mar 2013 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/redirect/articles/97775/</link></item><item><title>Shred XML column using SSIS</title><description><![CDATA[<p>This article describes a way using SSIS to shred a XML column from a source table into its respective columns in the destination table.</p>]]></description><guid>http://www.sqlservercentral.com/articles/Integration+Services+(SSIS)/96579/</guid><pubDate>Wed, 27 Feb 2013 07:00:00 UT</pubDate><link>http://www.sqlservercentral.com/articles/Integration+Services+(SSIS)/96579/</link></item><item><title>Stairway to XML: Level 10 - Converting XML Data</title><description><![CDATA[<p>In this Level, we look at how to convert string values to XML and how to convert XML to character types. </p>]]></description><guid>http://www.sqlservercentral.com/articles/Stairway+Series/96241/</guid><pubDate>Wed, 13 Feb 2013 07:00:00 UT</pubDate><link>http://www.sqlservercentral.com/articles/Stairway+Series/96241/</link></item><item><title>Precision Indexing: Basics of Selective XML Indexes in SQL Server 2012</title><description><![CDATA[<p>Seldom has a SQL Server Service pack had such an effect on database development as when SQL Server 2012 SP1 introduced selective XML indexes. These transform the practicality of querying large amounts of XML data. Seth Delconte demonstrates how and why this feature makes all the difference. </p>]]></description><guid>http://www.sqlservercentral.com/redirect/articles/96786/</guid><pubDate>Wed, 06 Feb 2013 07:00:00 UT</pubDate><link>http://www.sqlservercentral.com/redirect/articles/96786/</link></item><item><title>Stairway to XML: Level 9 - Creating XML-Based Functions</title><description><![CDATA[<p>In this Level, we’ll look at how to use XML methods within user-defined functions to return XML fragments and values from your target XML instance. </p>]]></description><guid>http://www.sqlservercentral.com/articles/Stairway+Series/96174/</guid><pubDate>Wed, 30 Jan 2013 07:00:00 UT</pubDate><link>http://www.sqlservercentral.com/articles/Stairway+Series/96174/</link></item><item><title>Stairway to XML: Level 1 - Introduction to XML</title><description><![CDATA[<p>In this level, Rob Sheldon explains what  XML is, and describes the components of an XML document, Elements and Attributes. He explains the basics of tags, entity references,  enclosed text, comments and declarations</p>]]></description><guid>http://www.sqlservercentral.com/articles/Stairway+Series/Introduction+to+XML/92780/</guid><pubDate>Wed, 09 Jan 2013 07:00:00 UT</pubDate><link>http://www.sqlservercentral.com/articles/Stairway+Series/Introduction+to+XML/92780/</link></item><item><title>Stairway to XML: Level 8 - Deleting Data from an XML Instance</title><description><![CDATA[<p>in order to  use the modify() method to delete data from typed and untyped XML instances, you must pass an XML DML expression as an argument to the method. That expression must include the delete keyword, along with an XQuery expression that defines the XML component to be deleted. Robert makes it seem simple, as usual.</p>]]></description><guid>http://www.sqlservercentral.com/articles/Stairway+Series/Deleting+Data+from+an+XML+Instance/92788/</guid><pubDate>Mon, 05 Nov 2012 07:00:00 UT</pubDate><link>http://www.sqlservercentral.com/articles/Stairway+Series/Deleting+Data+from+an+XML+Instance/92788/</link></item><item><title>Manipulating XML Data in SQL Server</title><description><![CDATA[<p>When the average database developer is obliged to manipulate XML, either shredding it into relational format, or creating it from SQL, it is often done 'at arms length'. A shame, since effective use of techniques that go beyond the basics can save much code,</p>]]></description><guid>http://www.sqlservercentral.com/redirect/articles/94591/</guid><pubDate>Thu, 01 Nov 2012 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/redirect/articles/94591/</link></item><item><title>Stairway to XML: Level 7 - Updating Data in an XML Instance</title><description><![CDATA[<p>You need to provide the necessary keywords and define the XQuery and value expressions in your XML DML expression in order to use the modify() method to update element and attribute values in either typed or untyped XML instances in an XML column. Robert Sheldon explains how.</p>]]></description><guid>http://www.sqlservercentral.com/articles/Stairway+Series/Updating+Data+in+an+XML+Instance/92787/</guid><pubDate>Mon, 29 Oct 2012 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/articles/Stairway+Series/Updating+Data+in+an+XML+Instance/92787/</link></item><item><title>Stairway to XML: Level 6 - Inserting Data into an XML Instance</title><description><![CDATA[<p>The modify method  lets you manipulate XML data using XML DML. It can insert, alter or delete data. In this level, Robert shows how to use the method to insert a node into an XML instance. </p>]]></description><guid>http://www.sqlservercentral.com/articles/Stairway+Series/Inserting+Data+into+an+XML+Instance/92786/</guid><pubDate>Wed, 17 Oct 2012 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/articles/Stairway+Series/Inserting+Data+into+an+XML+Instance/92786/</link></item><item><title>Stairway to XML: Level 5 - The XML exist() and nodes() Methods</title><description><![CDATA[<p>The XML exist() method is used, often in a WHERE clause, to check the existence of an element within an XML document or fragment.  The nodes() method lets you shred an XML instance and return the information as relational data. </p>]]></description><guid>http://www.sqlservercentral.com/articles/Stairway+Series/The+XML+exist()+and+nodes()+Methods/92785/</guid><pubDate>Mon, 15 Oct 2012 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/articles/Stairway+Series/The+XML+exist()+and+nodes()+Methods/92785/</link></item><item><title>Stairway to XML: Level 4 - Querying XML Data</title><description><![CDATA[<p>You can extract a subset of data from an XML instance by using the query() method, and you can use the value() method to retrieve individual element and attribute values from an XML instance.</p>]]></description><guid>http://www.sqlservercentral.com/articles/Stairway+Series/+Querying+XML+Data/92784/</guid><pubDate>Mon, 08 Oct 2012 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/articles/Stairway+Series/+Querying+XML+Data/92784/</link></item><item><title>Stairway to XML: Level 3 - Working with Typed XML</title><description><![CDATA[<p>You can enforce the validation of  an XML data type, variable or column by  associating it with an XML Schema Collection. SQL Server validates a typed XML value against the rules defined in the schema collection so that INSERT or UPDATE operations will succeed only if the value being inserted or updated is valid as per the rules defined in the Schema Collection.</p>]]></description><guid>http://www.sqlservercentral.com/articles/Stairway+Series/+Working+with+Typed+XML/92783/</guid><pubDate>Mon, 01 Oct 2012 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/articles/Stairway+Series/+Working+with+Typed+XML/92783/</link></item><item><title>Stairway to XML: Level 2 - The XML Data Type</title><description><![CDATA[<p>Robert Sheldon describes SQL Server's XML Data Type, and shows that it is as easy to configure a variable, column, or parameter with the XML data type as configuring one of these objects with any other datatype</p>]]></description><guid>http://www.sqlservercentral.com/articles/Stairway+Series/The+XML+Data+Type/92781/</guid><pubDate>Wed, 26 Sep 2012 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/articles/Stairway+Series/The+XML+Data+Type/92781/</link></item><item><title>Stairway to XML: Level 1 - Introduction to XML</title><description><![CDATA[<p>In this level, Rob Sheldon explains what  XML is, and describes the components of an XML document, Elements and Attributes. He explains the basics of tags, entity references,  enclosed text, comments and declarations</p><!-- Consulted 1000 (SQL Monitor) -->
<table border="0" cellpadding="0" cellspacing="10" style="width: 100%;"> <colgroup>  <col width="68" />  <col width="1266" /> </colgroup> <tbody>  <tr align="left" valign="top">   <td>    <a href="http://www.red-gate.com/products/dba/sql-monitor/entrypage/custom-metrics?utm_source=ssc&utm_medium=pubad&utm_content=consulted_1000&utm_campaign=sqlmonitor&utm_term=rss-20231"><img src="http://assets.red-gate.com/external/SSC/monitor_ico.gif" alt="sqlmonitor"></td>   <td><strong>Check SQL Server performance at a glance</strong><br />We consulted 1000 SQL Server professionals to make SQL Monitor’s UI as clear as possible.  <a href="http://www.red-gate.com/products/dba/sql-monitor/entrypage/custom-metrics?utm_source=ssc&utm_medium=pubad&utm_content=consulted_1000&utm_campaign=sqlmonitor&utm_term=rss-20231">Start monitoring with a free trial.</a></td>  </tr> </tbody></table>



]]></description><guid>http://www.sqlservercentral.com/articles/Stairway+Series/Introduction+to+XML/92780/</guid><pubDate>Wed, 09 Jan 2013 07:00:00 UT</pubDate><link>http://www.sqlservercentral.com/articles/Stairway+Series/Introduction+to+XML/92780/</link></item><item><title>Learn XML</title><description><![CDATA[<p>Steve Jones talks about XML and how it will be more and more important for DBAs to understand this in the future.</p>]]></description><guid>http://www.sqlservercentral.com/articles/Editorial/90430/</guid><pubDate>Thu, 03 May 2012 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/articles/Editorial/90430/</link></item><item><title>Basics of XML and SQL Server, Part 5: Generate/Transmit XML with SSIS</title><description><![CDATA[<p>This SSIS package generates XML invoice documents from data stored in SQL Server, then FTPs and/or Emails them to clients.</p>]]></description><guid>http://www.sqlservercentral.com/articles/Integration+Services+(SSIS)/77306/</guid><pubDate>Wed, 04 Apr 2012 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/articles/Integration+Services+(SSIS)/77306/</link></item><item><title>Basics of XML and SQL Server, Part 4: Create an XML invoice with SSIS</title><description><![CDATA[<p>This article demonstrates how to build an SSIS package that generates an XML invoice document from data stored in SQL Server and saves it to an XML file.</p>]]></description><guid>http://www.sqlservercentral.com/articles/XML/87963/</guid><pubDate>Wed, 28 Mar 2012 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/articles/XML/87963/</link></item><item><title>Basics of XML and SQL Server, Part 3: Transform and Shred XML in SSIS</title><description><![CDATA[<p>This SSIS package performs multiple XSL transformations on an XML document, then shreds the transformed document and inserts its data into a SQL Server table.</p>]]></description><guid>http://www.sqlservercentral.com/articles/XML/87637/</guid><pubDate>Wed, 21 Mar 2012 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/articles/XML/87637/</link></item><item><title>Basics of  XML and SQL Server, Part 2: Shredding XML</title><description><![CDATA[<p>In Part 2 of this series we will shred an XML document and insert its records into a SQL Server table using both the OpenXML and XQuery methods.</p><!-- machanic (SQL Comapre)-->
<table border="0" cellpadding="0" cellspacing="10" style="width: 100%;"> <colgroup>  <col width="68" />  <col width="1266" /> </colgroup> <tbody>  <tr align="left" valign="top">   <td>    <a href="http://www.red-gate.com/products/sql-development/sql-compare/?utm_source=ssc&utm_medium=pubad&utm_content=machanic&utm_campaign=sqlcompare&utm_term=rss-20226"><img src="http://assets.red-gate.com/external/SSC/sqlcompare68x68.gif" alt="sqlcompare"></td>   <td><strong>Compare and sync databases with SQL Compare</strong><br />“SQL Compare is fast, extremely easy to use, full-featured and affordable. I wouldn't bother messing around with anything else.” Adam Machanic, SQL Server MVP.  <a href="http://www.red-gate.com/products/sql-development/sql-compare/?utm_source=ssc&utm_medium=pubad&utm_content=machanic&utm_campaign=sqlcompare&utm_term=rss-20226">Download a 14-day free trial.</a></td>  </tr> </tbody></table>


]]></description><guid>http://www.sqlservercentral.com/articles/XML/87685/</guid><pubDate>Wed, 14 Mar 2012 06:00:00 UT</pubDate><link>http://www.sqlservercentral.com/articles/XML/87685/</link></item><item><title>Basics of XML and SQL Server, Part 1: Streaming XML</title><description><![CDATA[<p>This article demonstrates how to generate an XML stream from SQL Server using the 'FOR XML PATH' statement, and how to explore that XML stream interactively using an XSL transformation.</p>]]></description><guid>http://www.sqlservercentral.com/articles/XML/87539/</guid><pubDate>Wed, 07 Mar 2012 07:00:00 UT</pubDate><link>http://www.sqlservercentral.com/articles/XML/87539/</link></item><item><title>Converting String Data to XML and XML to String Data</title><description><![CDATA[<p>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. </p>]]></description><guid>http://www.sqlservercentral.com/redirect/articles/88280/</guid><pubDate>Tue, 07 Feb 2012 07:00:00 UT</pubDate><link>http://www.sqlservercentral.com/redirect/articles/88280/</link></item><item><title>Using XML to pass lists as parameters in SQL Server</title><description><![CDATA[<p>Every so often, the question comes up on forums of how to pass a list as a parameter to a SQL procedure or function. Phil Factor provides some examples using XML, and tests them against other popular methods.</p><!-- machanic (SQL Comapre)-->
<table border="0" cellpadding="0" cellspacing="10" style="width: 100%;"> <colgroup>  <col width="68" />  <col width="1266" /> </colgroup> <tbody>  <tr align="left" valign="top">   <td>    <a href="http://www.red-gate.com/products/sql-development/sql-compare/?utm_source=ssc&utm_medium=pubad&utm_content=machanic&utm_campaign=sqlcompare&utm_term=rss-20226"><img src="http://assets.red-gate.com/external/SSC/sqlcompare68x68.gif" alt="sqlcompare"></td>   <td><strong>Compare and sync databases with SQL Compare</strong><br />“SQL Compare is fast, extremely easy to use, full-featured and affordable. I wouldn't bother messing around with anything else.” Adam Machanic, SQL Server MVP.  <a href="http://www.red-gate.com/products/sql-development/sql-compare/?utm_source=ssc&utm_medium=pubad&utm_content=machanic&utm_campaign=sqlcompare&utm_term=rss-20226">Download a 14-day free trial.</a></td>  </tr> </tbody></table>


]]></description><guid>http://www.sqlservercentral.com/redirect/articles/87595/</guid><pubDate>Thu, 26 Jan 2012 07:00:00 UT</pubDate><link>http://www.sqlservercentral.com/redirect/articles/87595/</link></item><item><title>Incorporating XML into your Database Objects</title><description><![CDATA[<p>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.</p>]]></description><guid>http://www.sqlservercentral.com/redirect/articles/87593/</guid><pubDate>Fri, 20 Jan 2012 07:00:00 UT</pubDate><link>http://www.sqlservercentral.com/redirect/articles/87593/</link></item><item><title>XML-XSL Transformations in SQL Server</title><description><![CDATA[<p>With the release of Master Data Services (MDS) for SQL Server 2008R2, it is now possible to perform XML transformations on the database server.</p>]]></description><guid>http://www.sqlservercentral.com/articles/MDS/75932/</guid><pubDate>Wed, 04 Jan 2012 07:00:00 UT</pubDate><link>http://www.sqlservercentral.com/articles/MDS/75932/</link></item><item><title>The XML Methods in SQL Server</title><description><![CDATA[<p>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.</p>]]></description><guid>http://www.sqlservercentral.com/redirect/articles/86990/</guid><pubDate>Tue, 03 Jan 2012 07:00:00 UT</pubDate><link>http://www.sqlservercentral.com/redirect/articles/86990/</link></item><item><title>Managing Data Dictionaries in DW and DSS Database Applications</title><description><![CDATA[<p>Second in the series of tools &amp; techniques to help manage aspects Of Enterprise BI implementation.</p><!-- fasterwithsqlserver (SQL Toolbelt)-->
<table border="0" cellpadding="0" cellspacing="10" style="width: 100%;"> <colgroup>  <col width="68" />  <col width="1266" /> </colgroup> <tbody>  <tr align="left" valign="top">   <td>    <a href="http://www.red-gate.com/products/sql-development/sql-toolbelt?utm_source=ssc&utm_medium=pubad&utm_content=fasterwithsqlserver2&utm_campaign=sqltoolbelt&utm_term=rss-20227"><img src="http://assets.red-gate.com/external/SSC/toolbelt68.gif" alt="sqltoolbelt"></td>   <td><strong>Want to work faster with SQL Server?</strong><br />If you want to work faster try out the SQL Toolbelt. "The SQL Toolbelt provides tools that database developers as well as DBAs should not live without." William Van Orden. <a href="http://www.red-gate.com/products/sql-development/sql-toolbelt?utm_source=ssc&utm_medium=pubad&utm_content=fasterwithsqlserver2&utm_campaign=sqltoolbelt&utm_term=rss-20227">Download the SQL Toolbelt here.</a></td>  </tr> </tbody></table>



]]></description><guid>http://www.sqlservercentral.com/articles/BI/76106/</guid><pubDate>Tue, 20 Dec 2011 07:00:00 UT</pubDate><link>http://www.sqlservercentral.com/articles/BI/76106/</link></item><item><title>Working with the XML Data Type in SQL Server</title><description><![CDATA[<p>The XML data type, introduced in SQL Server 2005, is a powerful construct.  When used wisely, it can provide useful extensions to SQL Server. Robert Sheldon, in the first part of a series, describes how create and index a XML column in a table, and discusses when you should consider using an XML data type.</p>]]></description><guid>http://www.sqlservercentral.com/redirect/articles/77154/</guid><pubDate>Fri, 02 Dec 2011 07:00:00 UT</pubDate><link>http://www.sqlservercentral.com/redirect/articles/77154/</link></item></channel></rss>