<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	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/"
		>
<channel>
	<title>Comments for SQL Slayer</title>
	<atom:link href="http://www.sqlslayer.com/wp/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sqlslayer.com/wp</link>
	<description>Making SQL do what we want it to do.</description>
	<lastBuildDate>Sat, 06 Aug 2011 03:28:56 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on GROUP BY CUBE example by jay-ar</title>
		<link>http://www.sqlslayer.com/wp/2009/10/08/group-by-cube-example/comment-page-1/#comment-6637</link>
		<dc:creator>jay-ar</dc:creator>
		<pubDate>Sat, 06 Aug 2011 03:28:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.sqlslayer.com/wp/?p=114#comment-6637</guid>
		<description>give a rollup ex.</description>
		<content:encoded><![CDATA[<p>give a rollup ex.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on GROUP BY CUBE example by jay-ar</title>
		<link>http://www.sqlslayer.com/wp/2009/10/08/group-by-cube-example/comment-page-1/#comment-6636</link>
		<dc:creator>jay-ar</dc:creator>
		<pubDate>Sat, 06 Aug 2011 03:27:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.sqlslayer.com/wp/?p=114#comment-6636</guid>
		<description>sir can you a roll up example?</description>
		<content:encoded><![CDATA[<p>sir can you a roll up example?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Unable to restore backup from 2008 R2 to 2008 by Mike G</title>
		<link>http://www.sqlslayer.com/wp/2009/10/05/unable-to-restore-backup-from-2008-r2-to-2008/comment-page-1/#comment-6289</link>
		<dc:creator>Mike G</dc:creator>
		<pubDate>Sun, 24 Jul 2011 05:44:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.sqlslayer.com/wp/?p=70#comment-6289</guid>
		<description>@Adam, agreed - MS probably could release a hotfix for 2008 to allow it to restore 2008R2 databases.  But they probably weighed up the cost of this dev cycle, vs getting a tech writer to publish a note saying &#039;you can&#039;t restore 2008R2 databases to 2008&#039; - and went with the latter.

I&#039;m always very leery about changing, and mixing, SQL Server versions!  Maybe not as much as changing/mixing OS, but I have hit the odd nasty problem by assuming that SQL vX will be near enough the same as SQL vX.1. They are different products that require a planned upgrade, even if that plan is short.</description>
		<content:encoded><![CDATA[<p>@Adam, agreed &#8211; MS probably could release a hotfix for 2008 to allow it to restore 2008R2 databases.  But they probably weighed up the cost of this dev cycle, vs getting a tech writer to publish a note saying &#8216;you can&#8217;t restore 2008R2 databases to 2008&#8242; &#8211; and went with the latter.</p>
<p>I&#8217;m always very leery about changing, and mixing, SQL Server versions!  Maybe not as much as changing/mixing OS, but I have hit the odd nasty problem by assuming that SQL vX will be near enough the same as SQL vX.1. They are different products that require a planned upgrade, even if that plan is short.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Unable to restore backup from 2008 R2 to 2008 by Mike G</title>
		<link>http://www.sqlslayer.com/wp/2009/10/05/unable-to-restore-backup-from-2008-r2-to-2008/comment-page-1/#comment-6288</link>
		<dc:creator>Mike G</dc:creator>
		<pubDate>Sun, 24 Jul 2011 05:28:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.sqlslayer.com/wp/?p=70#comment-6288</guid>
		<description>My understanding is that, say, a 2008R2 database in 80 compatibility mode was still a 2008R2 database, but with an emulation layer across it to make it behave like SQL 2000.  Otherwise MS would basically have to include ALL of SQL 2000 within 2008R2, to make it compatible from the byte level up.

I&#039;ve certainly been burned before with databases that stopped working from 2005 to 2008, compatibility setting or no, because the optimizer changed and queries that used to run fast suddenly took minutes to run.

Are you able to take a SQL 2008 database set to 80 compatibility level and restore it on a SQL 2000 box?  I have no idea, but I&#039;d assume not.  From memory, even 2008SP1 databases wouldn&#039;t back-restore to 2008.

Hmm, a backport via scripting shouldn&#039;t be unreasonable even for large databases (though agreed, 200GB would be pushing it a lot!) - or backport the schema and use SSIS or linked server queries to bring the data across.  Slow but you&#039;ll get there in the end.

Guess the main thing though - start by assuming that the upgrade will fail and that downgrades via backup/restore will NOT work, and then TEST before doing anything irrevocable.  Also assume that if your dev environment is 2008R2 and prod is 2008, then even if migration works fine, you&#039;ll end up with nasty, subtle incompatibilities that don&#039;t show up til the demo for the CEO...</description>
		<content:encoded><![CDATA[<p>My understanding is that, say, a 2008R2 database in 80 compatibility mode was still a 2008R2 database, but with an emulation layer across it to make it behave like SQL 2000.  Otherwise MS would basically have to include ALL of SQL 2000 within 2008R2, to make it compatible from the byte level up.</p>
<p>I&#8217;ve certainly been burned before with databases that stopped working from 2005 to 2008, compatibility setting or no, because the optimizer changed and queries that used to run fast suddenly took minutes to run.</p>
<p>Are you able to take a SQL 2008 database set to 80 compatibility level and restore it on a SQL 2000 box?  I have no idea, but I&#8217;d assume not.  From memory, even 2008SP1 databases wouldn&#8217;t back-restore to 2008.</p>
<p>Hmm, a backport via scripting shouldn&#8217;t be unreasonable even for large databases (though agreed, 200GB would be pushing it a lot!) &#8211; or backport the schema and use SSIS or linked server queries to bring the data across.  Slow but you&#8217;ll get there in the end.</p>
<p>Guess the main thing though &#8211; start by assuming that the upgrade will fail and that downgrades via backup/restore will NOT work, and then TEST before doing anything irrevocable.  Also assume that if your dev environment is 2008R2 and prod is 2008, then even if migration works fine, you&#8217;ll end up with nasty, subtle incompatibilities that don&#8217;t show up til the demo for the CEO&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Unable to restore backup from 2008 R2 to 2008 by Slavius</title>
		<link>http://www.sqlslayer.com/wp/2009/10/05/unable-to-restore-backup-from-2008-r2-to-2008/comment-page-1/#comment-6214</link>
		<dc:creator>Slavius</dc:creator>
		<pubDate>Fri, 22 Jul 2011 07:52:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.sqlslayer.com/wp/?p=70#comment-6214</guid>
		<description>Mike, you&#039;re confusing SQL Server version and database compatibility level. We&#039;re using databases in 80 compatibility level on servers running SQL 2000, 2005, 2008 and 2008R2.  There is no way for us to misuse functions whatever SQL server we want to downgrade. Why the heck shouldn&#039;t we be able to restore it from 2008R2 to earlier versions? Size of these databases varies from 5 to 200GB, exporting scripts is not an option!</description>
		<content:encoded><![CDATA[<p>Mike, you&#8217;re confusing SQL Server version and database compatibility level. We&#8217;re using databases in 80 compatibility level on servers running SQL 2000, 2005, 2008 and 2008R2.  There is no way for us to misuse functions whatever SQL server we want to downgrade. Why the heck shouldn&#8217;t we be able to restore it from 2008R2 to earlier versions? Size of these databases varies from 5 to 200GB, exporting scripts is not an option!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Unable to restore backup from 2008 R2 to 2008 by Adam Bean</title>
		<link>http://www.sqlslayer.com/wp/2009/10/05/unable-to-restore-backup-from-2008-r2-to-2008/comment-page-1/#comment-1267</link>
		<dc:creator>Adam Bean</dc:creator>
		<pubDate>Mon, 29 Nov 2010 20:38:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.sqlslayer.com/wp/?p=70#comment-1267</guid>
		<description>I agree Mike, R2 is a new release, but the actual databases themselves and supporting objects have not changed all that much to as where they couldn&#039;t simply apply a backwards compatibility script post restore.</description>
		<content:encoded><![CDATA[<p>I agree Mike, R2 is a new release, but the actual databases themselves and supporting objects have not changed all that much to as where they couldn&#8217;t simply apply a backwards compatibility script post restore.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Unable to restore backup from 2008 R2 to 2008 by Mike G</title>
		<link>http://www.sqlslayer.com/wp/2009/10/05/unable-to-restore-backup-from-2008-r2-to-2008/comment-page-1/#comment-1254</link>
		<dc:creator>Mike G</dc:creator>
		<pubDate>Sun, 28 Nov 2010 22:04:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.sqlslayer.com/wp/?p=70#comment-1254</guid>
		<description>@Cliff - I really don&#039;t get what you&#039;re complaining about here.  Down version restores have NEVER worked, and with good reason - if they did, someone would indeed try to downgrade their SQL server as a Disaster Recovery option and then discover that their application uses some of the functionality of the new version and nothing works.

It&#039;s not like it&#039;s even hard to just script out the schema and data to downgrade.  But I really don&#039;t have much sympathy here, if you put the latest toys on your dev box, don&#039;t expect anything to work when you try to move your stuff across to the older stuff that&#039;s running elsewhere.

Frankly I&#039;m astonished why anyone would expect to be able to go from a later to an earlier version of SQL via backup/restore.  Is it the naming that is confusing you, maybe?  SQL SERVER 2008 R2 IS A NEW VERSION, not a service pack!  In other news, no you can&#039;t go from 2008 R2 to SQL Server 6.5 either...</description>
		<content:encoded><![CDATA[<p>@Cliff &#8211; I really don&#8217;t get what you&#8217;re complaining about here.  Down version restores have NEVER worked, and with good reason &#8211; if they did, someone would indeed try to downgrade their SQL server as a Disaster Recovery option and then discover that their application uses some of the functionality of the new version and nothing works.</p>
<p>It&#8217;s not like it&#8217;s even hard to just script out the schema and data to downgrade.  But I really don&#8217;t have much sympathy here, if you put the latest toys on your dev box, don&#8217;t expect anything to work when you try to move your stuff across to the older stuff that&#8217;s running elsewhere.</p>
<p>Frankly I&#8217;m astonished why anyone would expect to be able to go from a later to an earlier version of SQL via backup/restore.  Is it the naming that is confusing you, maybe?  SQL SERVER 2008 R2 IS A NEW VERSION, not a service pack!  In other news, no you can&#8217;t go from 2008 R2 to SQL Server 6.5 either&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on “RowGUID is neither a DataColumn nor a DataRelation for table summary. (System.Data)” by Lynton</title>
		<link>http://www.sqlslayer.com/wp/2010/01/08/%e2%80%9crowguid-is-neither-a-datacolumn-nor-a-datarelation-for-table-summary-system-data%e2%80%9d/comment-page-1/#comment-115</link>
		<dc:creator>Lynton</dc:creator>
		<pubDate>Wed, 28 Apr 2010 03:52:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.sqlslayer.com/wp/?p=187#comment-115</guid>
		<description>Jeff, 

I can confirm the same problem still exists in SQL Server 2008 SP1 and I have found NO other documentation regarding this issue. 

IMHO it is a bug not a limitation. If periods are not allowed then validate the name of the publication before allowing it to be saved! It won&#039;t allow merge publications if there is anything (ANYTHING) else wrong with your database but will allow the publication name to be saved to prevent resolving conflicts. Just ridiculous and has caused many hours of frustration!

I had exactly the same error and caused by that blasted dot. In my case I found out about it at the end of a republisher pushing out filtered subscriptions and had to roll all the way back to the central publisher and start all over again, again...

Another &quot;dot-related&quot; issue to be aware of for merge replication...
For example, I have schema [A] and schema [B] both have tables called [Info]. 
I have filtered replication going on A.Info and wanted to use joins to enforce integrity on other filtered articles. 

So the example WHERE clause would be &quot;WHERE A.Info.ID = B.Info.ID&quot;

Joins in filtered replications ONLY support 2 part naming conventions!
This means the valid caluse has to be &quot;WHERE Info.ID = Info.ID&quot;
The builder is automated so you can&#039;t alias anything and are stuck with it.
My work around was to create a seperate filter for each table rather than using the Joins.

Despite the setup issues with merge replication, once it is up and running it is great stuff.
I still recommend creating back up jobs on all subscribers (ours are SQL Express 2008) and purchasing RedGate&#039;s SQL Toolbelt so data compares can be done in the case of failures or data loss.</description>
		<content:encoded><![CDATA[<p>Jeff, </p>
<p>I can confirm the same problem still exists in SQL Server 2008 SP1 and I have found NO other documentation regarding this issue. </p>
<p>IMHO it is a bug not a limitation. If periods are not allowed then validate the name of the publication before allowing it to be saved! It won&#8217;t allow merge publications if there is anything (ANYTHING) else wrong with your database but will allow the publication name to be saved to prevent resolving conflicts. Just ridiculous and has caused many hours of frustration!</p>
<p>I had exactly the same error and caused by that blasted dot. In my case I found out about it at the end of a republisher pushing out filtered subscriptions and had to roll all the way back to the central publisher and start all over again, again&#8230;</p>
<p>Another &#8220;dot-related&#8221; issue to be aware of for merge replication&#8230;<br />
For example, I have schema [A] and schema [B] both have tables called [Info].<br />
I have filtered replication going on A.Info and wanted to use joins to enforce integrity on other filtered articles. </p>
<p>So the example WHERE clause would be &#8220;WHERE A.Info.ID = B.Info.ID&#8221;</p>
<p>Joins in filtered replications ONLY support 2 part naming conventions!<br />
This means the valid caluse has to be &#8220;WHERE Info.ID = Info.ID&#8221;<br />
The builder is automated so you can&#8217;t alias anything and are stuck with it.<br />
My work around was to create a seperate filter for each table rather than using the Joins.</p>
<p>Despite the setup issues with merge replication, once it is up and running it is great stuff.<br />
I still recommend creating back up jobs on all subscribers (ours are SQL Express 2008) and purchasing RedGate&#8217;s SQL Toolbelt so data compares can be done in the case of failures or data loss.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on GROUP BY CUBE example by tanvi</title>
		<link>http://www.sqlslayer.com/wp/2009/10/08/group-by-cube-example/comment-page-1/#comment-21</link>
		<dc:creator>tanvi</dc:creator>
		<pubDate>Fri, 30 Oct 2009 13:17:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.sqlslayer.com/wp/?p=114#comment-21</guid>
		<description>what is this al about</description>
		<content:encoded><![CDATA[<p>what is this al about</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on SQL SIG by TheSQLGeek</title>
		<link>http://www.sqlslayer.com/wp/2009/10/09/sql-sig/comment-page-1/#comment-10</link>
		<dc:creator>TheSQLGeek</dc:creator>
		<pubDate>Thu, 15 Oct 2009 00:35:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.sqlslayer.com/wp/?p=124#comment-10</guid>
		<description>Great site!!! I really enjoyed the presentation at the user group.</description>
		<content:encoded><![CDATA[<p>Great site!!! I really enjoyed the presentation at the user group.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

