<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
<channel>
	<title>Comments for Paul Rohde</title>
	
	<link>http://www.paulrohde.com</link>
	<description>Photographer, Developer, Graphic Designer</description>
	<lastBuildDate>Mon, 02 Jan 2012 07:40:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/paulrohdecomcomments" /><feedburner:info uri="paulrohdecomcomments" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Comment on CSS Is A Lie. by Uriah</title>
		<link>http://feedproxy.google.com/~r/paulrohdecomcomments/~3/fAFdj2E-KqQ/</link>
		<dc:creator>Uriah</dc:creator>
		<pubDate>Mon, 02 Jan 2012 07:40:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.paulrohde.com/?p=1616#comment-934</guid>
		<description>Specificity can be tricky to get your head around in the beginning, no doubt. Great read, Paul!</description>
		<content:encoded><![CDATA[<p>Specificity can be tricky to get your head around in the beginning, no doubt. Great read, Paul!</p>
<img src="http://feeds.feedburner.com/~r/paulrohdecomcomments/~4/fAFdj2E-KqQ" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.paulrohde.com/css-is-a-lie/comment-page-1/#comment-934</feedburner:origLink></item>
	<item>
		<title>Comment on Building a REALLY simple WCF P2P application by David Rutten</title>
		<link>http://feedproxy.google.com/~r/paulrohdecomcomments/~3/Q3gZ0lWfzqI/</link>
		<dc:creator>David Rutten</dc:creator>
		<pubDate>Sat, 03 Dec 2011 16:13:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.paulrohde.com/?p=1165#comment-863</guid>
		<description>Fantastic article. I was about to give up on WCF when I found it and it took me just half an hour to get a chat room up and running with this. Thank you so much.</description>
		<content:encoded><![CDATA[<p>Fantastic article. I was about to give up on WCF when I found it and it took me just half an hour to get a chat room up and running with this. Thank you so much.</p>
<img src="http://feeds.feedburner.com/~r/paulrohdecomcomments/~4/Q3gZ0lWfzqI" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.paulrohde.com/building-a-really-simple-wcf-p2p-application/comment-page-1/#comment-863</feedburner:origLink></item>
	<item>
		<title>Comment on Typesetter HD by Invisible extra line height « Paul Rohde</title>
		<link>http://feedproxy.google.com/~r/paulrohdecomcomments/~3/X1scGGJkSFc/</link>
		<dc:creator>Invisible extra line height « Paul Rohde</dc:creator>
		<pubDate>Mon, 07 Nov 2011 23:06:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.paulrohde.com/?p=1581#comment-814</guid>
		<description>[...] Contact            « Typesetter HD [...]</description>
		<content:encoded><![CDATA[<p>[...] Contact            &laquo; Typesetter HD [...]</p>
<img src="http://feeds.feedburner.com/~r/paulrohdecomcomments/~4/X1scGGJkSFc" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.paulrohde.com/typesetter-hd/comment-page-1/#comment-814</feedburner:origLink></item>
	<item>
		<title>Comment on Tip: Using zoom to target images to high density displays by Jordan Ogren</title>
		<link>http://feedproxy.google.com/~r/paulrohdecomcomments/~3/Z7qM2SPSVi4/</link>
		<dc:creator>Jordan Ogren</dc:creator>
		<pubDate>Wed, 02 Nov 2011 12:20:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.paulrohde.com/?p=1553#comment-804</guid>
		<description>This is a great find!</description>
		<content:encoded><![CDATA[<p>This is a great find!</p>
<img src="http://feeds.feedburner.com/~r/paulrohdecomcomments/~4/Z7qM2SPSVi4" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.paulrohde.com/tip-using-zoom-to-target-images-to-high-density-displays/comment-page-1/#comment-804</feedburner:origLink></item>
	<item>
		<title>Comment on SQL For XML fails with UNION or UNION ALL by Paul Rohde</title>
		<link>http://feedproxy.google.com/~r/paulrohdecomcomments/~3/IZcP36cnVTE/</link>
		<dc:creator>Paul Rohde</dc:creator>
		<pubDate>Tue, 01 Nov 2011 17:30:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.paulrohde.com/?p=1456#comment-802</guid>
		<description>Awesome, glad it all worked out.</description>
		<content:encoded><![CDATA[<p>Awesome, glad it all worked out.</p>
<img src="http://feeds.feedburner.com/~r/paulrohdecomcomments/~4/IZcP36cnVTE" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.paulrohde.com/sql-for-xml-fails-with-union-or-union-all/comment-page-1/#comment-802</feedburner:origLink></item>
	<item>
		<title>Comment on SQL For XML fails with UNION or UNION ALL by Amal Graafstra</title>
		<link>http://feedproxy.google.com/~r/paulrohdecomcomments/~3/LXsqtO7jBAE/</link>
		<dc:creator>Amal Graafstra</dc:creator>
		<pubDate>Mon, 24 Oct 2011 16:20:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.paulrohde.com/?p=1456#comment-773</guid>
		<description>Thanks for your response Paul. I went through the openquery phase with this but found I still couldn't insert or delete records to/from a table with one or more XML column(s) on a linked remote server. I finally realized that views in SQL are updatable and set up views on both servers that use CAST to convert the xml columns to varchar(max), then I was able to set up normal queries (without using openquery) and also successfully delete records from the view rather than directly from the table. This allowed me to set up a pull job on the archive server that queried records from the live server, insert them into the archive table (converting the varchar(max) back to xml during the insert), and then finally deleting the records from the live server by deleting them from the view.</description>
		<content:encoded><![CDATA[<p>Thanks for your response Paul. I went through the openquery phase with this but found I still couldn&#8217;t insert or delete records to/from a table with one or more XML column(s) on a linked remote server. I finally realized that views in SQL are updatable and set up views on both servers that use CAST to convert the xml columns to varchar(max), then I was able to set up normal queries (without using openquery) and also successfully delete records from the view rather than directly from the table. This allowed me to set up a pull job on the archive server that queried records from the live server, insert them into the archive table (converting the varchar(max) back to xml during the insert), and then finally deleting the records from the live server by deleting them from the view.</p>
<img src="http://feeds.feedburner.com/~r/paulrohdecomcomments/~4/LXsqtO7jBAE" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.paulrohde.com/sql-for-xml-fails-with-union-or-union-all/comment-page-1/#comment-773</feedburner:origLink></item>
	<item>
		<title>Comment on SQL For XML fails with UNION or UNION ALL by Paul Rohde</title>
		<link>http://feedproxy.google.com/~r/paulrohdecomcomments/~3/_y6aEZr4t3U/</link>
		<dc:creator>Paul Rohde</dc:creator>
		<pubDate>Mon, 24 Oct 2011 15:34:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.paulrohde.com/?p=1456#comment-772</guid>
		<description>Hi Amal, 

although I'm no expert on multi-server setups, I did find the following thread on the msdn forums that looks like it has a work around for your problem specific problem.

http://social.msdn.microsoft.com/Forums/en-US/transactsql/thread/c6e0f4da-821f-4ba2-9b01-c141744076ef/

Paul</description>
		<content:encoded><![CDATA[<p>Hi Amal, </p>
<p>although I&#8217;m no expert on multi-server setups, I did find the following thread on the msdn forums that looks like it has a work around for your problem specific problem.</p>
<p><a href="http://social.msdn.microsoft.com/Forums/en-US/transactsql/thread/c6e0f4da-821f-4ba2-9b01-c141744076ef/" rel="nofollow">http://social.msdn.microsoft.com/Forums/en-US/transactsql/thread/c6e0f4da-821f-4ba2-9b01-c141744076ef/</a></p>
<p>Paul</p>
<img src="http://feeds.feedburner.com/~r/paulrohdecomcomments/~4/_y6aEZr4t3U" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.paulrohde.com/sql-for-xml-fails-with-union-or-union-all/comment-page-1/#comment-772</feedburner:origLink></item>
	<item>
		<title>Comment on SQL For XML fails with UNION or UNION ALL by Amal Graafstra</title>
		<link>http://feedproxy.google.com/~r/paulrohdecomcomments/~3/3OCnoMxqoPc/</link>
		<dc:creator>Amal Graafstra</dc:creator>
		<pubDate>Sun, 23 Oct 2011 21:44:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.paulrohde.com/?p=1456#comment-769</guid>
		<description>Any ideas when it comes to simply trying to do a union between two selects that contain columns of an XML data type? I've got an "active" table on the production server and an "archive" table on the archive server. I've linked the servers and periodically move records from the active table to the archive table using a job. Occasionally I need to run a query to find a record or records, any of which could reside in either table, and I'd like to create a single view I can query against. Here's the goal;

select XMLField from [PRecords].dbo.[PTable]
union
select XMLField from [Archive].[PRecords].dbo.[PTable]

When I try to create the view, I get an error stating: 

Xml data type is not supported in distributed queries. Remote object '[Archive].[PRecords].dbo.[PTable' has xml column(s).

Any ideas, or am I just simply out of luck?</description>
		<content:encoded><![CDATA[<p>Any ideas when it comes to simply trying to do a union between two selects that contain columns of an XML data type? I&#8217;ve got an &#8220;active&#8221; table on the production server and an &#8220;archive&#8221; table on the archive server. I&#8217;ve linked the servers and periodically move records from the active table to the archive table using a job. Occasionally I need to run a query to find a record or records, any of which could reside in either table, and I&#8217;d like to create a single view I can query against. Here&#8217;s the goal;</p>
<p>select XMLField from [PRecords].dbo.[PTable]<br />
union<br />
select XMLField from [Archive].[PRecords].dbo.[PTable]</p>
<p>When I try to create the view, I get an error stating: </p>
<p>Xml data type is not supported in distributed queries. Remote object &#8216;[Archive].[PRecords].dbo.[PTable&#8217; has xml column(s).</p>
<p>Any ideas, or am I just simply out of luck?</p>
<img src="http://feeds.feedburner.com/~r/paulrohdecomcomments/~4/3OCnoMxqoPc" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.paulrohde.com/sql-for-xml-fails-with-union-or-union-all/comment-page-1/#comment-769</feedburner:origLink></item>
	<item>
		<title>Comment on SQL For XML fails with UNION or UNION ALL by Paul Rohde</title>
		<link>http://feedproxy.google.com/~r/paulrohdecomcomments/~3/BggYzznc1T4/</link>
		<dc:creator>Paul Rohde</dc:creator>
		<pubDate>Thu, 20 Oct 2011 17:58:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.paulrohde.com/?p=1456#comment-761</guid>
		<description>The original problem and solution was originally done on SQL 2008 R2.</description>
		<content:encoded><![CDATA[<p>The original problem and solution was originally done on SQL 2008 R2.</p>
<img src="http://feeds.feedburner.com/~r/paulrohdecomcomments/~4/BggYzznc1T4" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.paulrohde.com/sql-for-xml-fails-with-union-or-union-all/comment-page-1/#comment-761</feedburner:origLink></item>
	<item>
		<title>Comment on SQL For XML fails with UNION or UNION ALL by Anon</title>
		<link>http://feedproxy.google.com/~r/paulrohdecomcomments/~3/QYsl-HJWXq0/</link>
		<dc:creator>Anon</dc:creator>
		<pubDate>Thu, 20 Oct 2011 17:48:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.paulrohde.com/?p=1456#comment-760</guid>
		<description>Does not work on SQL 2008R2.</description>
		<content:encoded><![CDATA[<p>Does not work on SQL 2008R2.</p>
<img src="http://feeds.feedburner.com/~r/paulrohdecomcomments/~4/QYsl-HJWXq0" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.paulrohde.com/sql-for-xml-fails-with-union-or-union-all/comment-page-1/#comment-760</feedburner:origLink></item>
</channel>
</rss>

