﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Discuss Content Posted by Yousef Ekhtiari / Article Discussions / Article Discussions by Author  / Some Usages for XML / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Sat, 25 May 2013 10:53:36 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Some Usages for XML</title><link>http://www.sqlservercentral.com/Forums/Topic338285-336-1.aspx</link><description>&lt;P&gt;Well it was great article for the developers who want to know about the advantages of XML in SQL SERVER 2005.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Mian Rehmat&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#117711&gt;Local Govt, UK.&lt;/FONT&gt;&lt;/P&gt;</description><pubDate>Fri, 03 Aug 2007 09:55:00 GMT</pubDate><dc:creator>Mian Rehmat</dc:creator></item><item><title>RE: Some Usages for XML</title><link>http://www.sqlservercentral.com/Forums/Topic338285-336-1.aspx</link><description>&lt;P&gt;SQL Server MVP Peter DeBetta has recently wrote on the same problem:&lt;/P&gt;&lt;P&gt;&lt;A href="http://sqlblog.com/blogs/peter_debetta/archive/2007/02/12/multiple-valued-parameters.aspx"&gt;http://sqlblog.com/blogs/peter_debetta/archive/2007/02/12/multiple-valued-parameters.aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I think his conclusions are different.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description><pubDate>Fri, 23 Feb 2007 10:35:00 GMT</pubDate><dc:creator>Alexander Kuznetsov</dc:creator></item><item><title>RE: Some Usages for XML</title><link>http://www.sqlservercentral.com/Forums/Topic338285-336-1.aspx</link><description>2,147,483,647 bytes, basically 2 Gigabytes</description><pubDate>Thu, 22 Feb 2007 15:29:00 GMT</pubDate><dc:creator>DCPeterson</dc:creator></item><item><title>RE: Some Usages for XML</title><link>http://www.sqlservercentral.com/Forums/Topic338285-336-1.aspx</link><description>&lt;P&gt;XML is a good solution for some sticky problems. &lt;/P&gt;&lt;P&gt;For example, I'm programming an application that stores information for physical exams that a medical practice performs. The problem is that the exam is rather dynamic, in that it frequently changes (doctors are a contentious breed), and updating the database was becoming a real challenge because of the necessity of keeping old data and new data in the same tables. &lt;/P&gt;&lt;P&gt;The solution was to store the raw exam data in an XML field, but keep basic patient information (ExamID, DateOfService, ExamType, etc) in regular SQL Server fields. That way I could retrieve the XML field, then query and update it using XML classes directly from my windows application. The good news is that if the XML node isn't present, the XML query simply ignores that part of the query without breaking the code. In other words, the structure of the exam can change without blowing up the application or requiring major changes in my existing functions in the data layer. Really nice. &lt;/P&gt;&lt;P&gt;Lee... &lt;/P&gt;</description><pubDate>Thu, 22 Feb 2007 12:40:00 GMT</pubDate><dc:creator>Lee Roper</dc:creator></item><item><title>RE: Some Usages for XML</title><link>http://www.sqlservercentral.com/Forums/Topic338285-336-1.aspx</link><description>&lt;P&gt;Nice.  the difference in time is more pronounced at 40k rows than 20k, although if you keep going up the time to create the delimited string becomes too unbearable to test.&lt;/P&gt;&lt;P&gt;Question: assuming that the delimited string is coming from the outside (so you don't have to worry about the time to create it), will there be a point at which the performance of the REPLACE() function becomes unbearable also?&lt;/P&gt;&lt;P&gt;Small thing: You probably need to change your name for the XML proc in the code sample and also your test code, which does this:&lt;/P&gt;&lt;P&gt;print     @CSVexec &lt;FONT color=#dd3333&gt;usp_LoopVersion&lt;/FONT&gt;       @CSV exec &lt;FONT color=#dd3333&gt;usp_LoopVersion &lt;/FONT&gt;  @CSV&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;gt;L&amp;lt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description><pubDate>Thu, 22 Feb 2007 10:17:00 GMT</pubDate><dc:creator>Lisa Slater Nicholls</dc:creator></item><item><title>RE: Some Usages for XML</title><link>http://www.sqlservercentral.com/Forums/Topic338285-336-1.aspx</link><description>This was a very useful article. What is the size limit to the VARCHAR(max) declaration? </description><pubDate>Thu, 22 Feb 2007 08:27:00 GMT</pubDate><dc:creator>Frank Thompson-290923</dc:creator></item><item><title>RE: Some Usages for XML</title><link>http://www.sqlservercentral.com/Forums/Topic338285-336-1.aspx</link><description>&lt;P&gt;I work since a few months with XML and I found very useful this article because I didn´t know all the advantages mencioned in the article. &lt;/P&gt;&lt;P&gt;Thanks and sorry for my english (I'm from Argentina).&lt;/P&gt;</description><pubDate>Thu, 22 Feb 2007 08:18:00 GMT</pubDate><dc:creator>Marina Odino</dc:creator></item><item><title>Some Usages for XML</title><link>http://www.sqlservercentral.com/Forums/Topic338285-336-1.aspx</link><description>Comments posted here are about the content posted at &lt;A HREF="http://www.sqlservercentral.com/columnists/yEkhtiari/2822.asp"&gt;http://www.sqlservercentral.com/columnists/yEkhtiari/2822.asp&lt;/A&gt;</description><pubDate>Fri, 19 Jan 2007 10:30:00 GMT</pubDate><dc:creator>yousef Ekhtiari</dc:creator></item></channel></rss>