<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://sqlblogcasts.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>DavidWimbush : Upgrading</title><link>http://sqlblogcasts.com/blogs/davidwimbush/archive/tags/Upgrading/default.aspx</link><description>Tags: Upgrading</description><dc:language>en</dc:language><generator>CommunityServer 2007.1 (Build: 20917.1142)</generator><item><title>Fun with upgrading and BCP</title><link>http://sqlblogcasts.com/blogs/davidwimbush/archive/2012/07/31/fun-with-upgrading-and-bcp.aspx</link><pubDate>Tue, 31 Jul 2012 14:08:00 GMT</pubDate><guid isPermaLink="false">fa8c4e8e-46a3-4193-8264-2c1a9cb3475d:16265</guid><dc:creator>DavidWimbush</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://sqlblogcasts.com/blogs/davidwimbush/rsscomments.aspx?PostID=16265</wfw:commentRss><comments>http://sqlblogcasts.com/blogs/davidwimbush/archive/2012/07/31/fun-with-upgrading-and-bcp.aspx#comments</comments><description>&lt;p&gt;&lt;font size="2" face="verdana,geneva"&gt;I just had&amp;nbsp;trouble with using BCP out via xp_cmdshell. Probably serves me right but that&amp;#39;s a different issue. I got a strange error message &amp;#39;Unable to resolve column level collations&amp;#39; which turned out to be a bit misleading. I wasted some time comparing the collations of the the server, the database and all the columns in the query. I got so desperate that I even read the Books Online article. Still no joy but then I tried the interweb. &lt;/font&gt;&lt;font size="2" face="verdana,geneva"&gt;It turns out that calling bcp without qualifying it with a path causes&amp;nbsp;Windows to search the folders listed in the Path environment variable - in that order - and execute the first version of BCP it can find. But when you do an in-place version upgrade, the new paths are added on the end of the Path variable so you don&amp;#39;t get the latest version of BCP by default. &lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font size="2" face="verdana,geneva"&gt;To check which version you&amp;#39;re getting execute &lt;font face="courier new,courier"&gt;bcp -v&lt;/font&gt; at the command line. The version number will correspond to SQL Server version numbering (eg. 10.50.n = 2008 R2). &lt;/font&gt;&lt;font size="2" face="Verdana"&gt;To examine and/or edit the Path variable, right-click on My Computer, select Properties, go to the Advanced tab and click on the Environment Variables button. If you change the variable you&amp;#39;ll have to restart the SQL Server service before it takes effect.&lt;/font&gt;&lt;/p&gt;&lt;img src="http://sqlblogcasts.com/aggbug.aspx?PostID=16265" width="1" height="1"&gt;</description><category domain="http://sqlblogcasts.com/blogs/davidwimbush/archive/tags/SQL+Server+2008+R2/default.aspx">SQL Server 2008 R2</category><category domain="http://sqlblogcasts.com/blogs/davidwimbush/archive/tags/Upgrading/default.aspx">Upgrading</category></item><item><title>R2 Report Pagination</title><link>http://sqlblogcasts.com/blogs/davidwimbush/archive/2010/07/02/r2-report-pagination.aspx</link><pubDate>Fri, 02 Jul 2010 12:51:00 GMT</pubDate><guid isPermaLink="false">fa8c4e8e-46a3-4193-8264-2c1a9cb3475d:14469</guid><dc:creator>DavidWimbush</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://sqlblogcasts.com/blogs/davidwimbush/rsscomments.aspx?PostID=14469</wfw:commentRss><comments>http://sqlblogcasts.com/blogs/davidwimbush/archive/2010/07/02/r2-report-pagination.aspx#comments</comments><description>&lt;p&gt;&lt;font size="2" face="verdana,geneva"&gt;I thought it was all too good to be true. We upgraded our reporting server in place from 2005 Std to 2008 R2 and we&amp;#39;ve hit a major problem. We have a few reports that are about 60 pages. On 2005 the report would render page 1 of 60 pretty quickly. Now it&amp;nbsp;produces page 1 of 2 that is miles long and takes minutes to render. &lt;strong&gt;If&lt;/strong&gt; you have enough RAM and CPU power in your PC to cope. My dev machine can handle it but the average user&amp;#39;s machine just dies. There&amp;#39;s a brief spike on the server and then it&amp;#39;s all your PC that&amp;#39;s doing the work. Seeing as I&amp;#39;m the only person who can run these reports at the moment, guess what I&amp;#39;ve been spending half my time doing?&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2" face="Verdana"&gt;I&amp;#39;ve put it up on Connect here: &lt;a href="https://connect.microsoft.com/SQLServer/feedback/details/572160/wrong-pagination-in-report-manager?wa=wsignin1.0"&gt;https://connect.microsoft.com/SQLServer/feedback/details/572160/wrong-pagination-in-report-manager?wa=wsignin1.0&lt;/a&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2" face="Verdana"&gt;If you encounter the same problem, please vote this bug report up, or if you know the answer, please let me know. Thanks.&lt;/font&gt;&lt;/p&gt;&lt;img src="http://sqlblogcasts.com/aggbug.aspx?PostID=14469" width="1" height="1"&gt;</description><category domain="http://sqlblogcasts.com/blogs/davidwimbush/archive/tags/SQL+Server+2008+R2/default.aspx">SQL Server 2008 R2</category><category domain="http://sqlblogcasts.com/blogs/davidwimbush/archive/tags/Upgrading/default.aspx">Upgrading</category></item><item><title>R2 Collation Gotcha</title><link>http://sqlblogcasts.com/blogs/davidwimbush/archive/2010/07/02/r2-collation-gotcha.aspx</link><pubDate>Fri, 02 Jul 2010 12:36:00 GMT</pubDate><guid isPermaLink="false">fa8c4e8e-46a3-4193-8264-2c1a9cb3475d:14466</guid><dc:creator>DavidWimbush</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://sqlblogcasts.com/blogs/davidwimbush/rsscomments.aspx?PostID=14466</wfw:commentRss><comments>http://sqlblogcasts.com/blogs/davidwimbush/archive/2010/07/02/r2-collation-gotcha.aspx#comments</comments><description>&lt;p&gt;&lt;font size="2" face="verdana,geneva"&gt;On my dev machine I installed R2 alongside my existing 2005 instance and it did a funny thing with the new instance&amp;#39;s collation. Our servers are all on Latin1_General_CI_AS, including my 2005 dev instance. But my R2 instance defaulted to SQL_Latin1_General_CI_AS and I&amp;#39;ve only just noticed, which is a damn nuisance. I thought I checked the collation during the&amp;nbsp;setup but I guess I&amp;nbsp;did a mental &lt;font face="courier new,courier"&gt;LIKE&amp;nbsp;&amp;#39;%Latin1_General_CI_AS&amp;#39;&lt;/font&gt;.&amp;nbsp;I think this article (&lt;a href="http://msdn.microsoft.com/en-us/library/ms143508.aspx"&gt;http://msdn.microsoft.com/en-us/library/ms143508.aspx&lt;/a&gt;) explains the reasoning:&lt;/font&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;font size="2" face="Verdana"&gt;&lt;strong&gt;&lt;font face="tahoma,arial,helvetica,sans-serif"&gt;SQL Server Collations (SQL_*) &lt;br /&gt;&lt;/font&gt;&lt;/strong&gt;&lt;font face="tahoma,arial,helvetica,sans-serif"&gt;Select this option to match settings with English-language versions SQL Server 2005 or earlier versions.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&lt;font size="2" face="Verdana"&gt;&lt;font face="verdana,geneva"&gt;Presumably it detected the 2005 instance and was trying to be helpful. Close but no cigar. Just as well my machine is long overdue for a rebuild anyway.&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;img src="http://sqlblogcasts.com/aggbug.aspx?PostID=14466" width="1" height="1"&gt;</description><category domain="http://sqlblogcasts.com/blogs/davidwimbush/archive/tags/SQL+Server+2008+R2/default.aspx">SQL Server 2008 R2</category><category domain="http://sqlblogcasts.com/blogs/davidwimbush/archive/tags/Upgrading/default.aspx">Upgrading</category></item><item><title>Upgrade to 2008 R2</title><link>http://sqlblogcasts.com/blogs/davidwimbush/archive/2010/06/15/upgrade-to-2008-r2.aspx</link><pubDate>Tue, 15 Jun 2010 14:00:00 GMT</pubDate><guid isPermaLink="false">fa8c4e8e-46a3-4193-8264-2c1a9cb3475d:14388</guid><dc:creator>DavidWimbush</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://sqlblogcasts.com/blogs/davidwimbush/rsscomments.aspx?PostID=14388</wfw:commentRss><comments>http://sqlblogcasts.com/blogs/davidwimbush/archive/2010/06/15/upgrade-to-2008-r2.aspx#comments</comments><description>&lt;p&gt;&lt;font size="2" face="verdana,geneva"&gt;I don&amp;#39;t like it, Carruthers. It&amp;#39;s just too quiet.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2" face="verdana,geneva"&gt;Well, I&amp;#39;ve done the pre-production server, the main live server and the Reporting/BI server with remarkably little trouble. Pre-production and live were rebuilds. I failed live over to our log shipping standby for the duration, which has a gotcha I blogged about before. When I failed back to the primary live server again, it was very quick to bring the databases online. I understand the databases don&amp;#39;t actually get upgraded until you recover them but there was no noticable delay. It&amp;#39;s gone from 2005 Workgroup - limited to 4GB of&amp;nbsp;memory -&amp;nbsp;to 2008 R2 Standard so it can now use nearly all of the 30GB in the server. It&amp;#39;s &lt;em&gt;soo&lt;/em&gt; much faster.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2" face="verdana,geneva"&gt;The reporting/BI server I upgraded in situ. This took a while but, again, went smoothly. Just watch out, because the master database was left at compatibility level 90. Also the upgrade decided to use the reporting service&amp;#39;s credentials for database access when running reports. It didn&amp;#39;t preserve the existing credentials and I had to go into the Reporting Configuration Manager to put them back in. Make sure you know what credentials your server is using before you upgrade.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2" face="Verdana"&gt;All things considered, a fairly painless experience. Now I just have to upgrade and reset our log shipping standby server again!&lt;/font&gt;&lt;/p&gt;&lt;img src="http://sqlblogcasts.com/aggbug.aspx?PostID=14388" width="1" height="1"&gt;</description><category domain="http://sqlblogcasts.com/blogs/davidwimbush/archive/tags/SQL+Server+2005/default.aspx">SQL Server 2005</category><category domain="http://sqlblogcasts.com/blogs/davidwimbush/archive/tags/SQL+Server+2008+R2/default.aspx">SQL Server 2008 R2</category><category domain="http://sqlblogcasts.com/blogs/davidwimbush/archive/tags/Upgrading/default.aspx">Upgrading</category></item><item><title>Upgrading from 2005 to R2</title><link>http://sqlblogcasts.com/blogs/davidwimbush/archive/2010/05/28/upgrading-from-2005-to-r2.aspx</link><pubDate>Fri, 28 May 2010 14:06:00 GMT</pubDate><guid isPermaLink="false">fa8c4e8e-46a3-4193-8264-2c1a9cb3475d:14312</guid><dc:creator>DavidWimbush</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://sqlblogcasts.com/blogs/davidwimbush/rsscomments.aspx?PostID=14312</wfw:commentRss><comments>http://sqlblogcasts.com/blogs/davidwimbush/archive/2010/05/28/upgrading-from-2005-to-r2.aspx#comments</comments><description>&lt;p&gt;&lt;font size="2" face="verdana,geneva"&gt;We&amp;#39;re about to take the plunge and upgrade our servers from SQL 2005 to SQL 2008 R2. Real world accounts of people upgrading to R2&amp;nbsp;are a bit hard to find so I thought it might be useful to blog what happens. (I don&amp;#39;t count marketing &amp;#39;case studies&amp;#39; that just say stuff like &amp;quot;The process was effortless and the upgrade will pay for itself by the end the week.&amp;quot;)&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2" face="verdana,geneva"&gt;We&amp;#39;re using the database engine, Analysis Services and Reporting Services so upgrading by a major version number was looking a bit daunting. I wasn&amp;#39;t expecting much trouble on the engine side of things but, as most of the action in 2008 and R2 appears to have been on the Reporting and BI front, I expected to have quite a bit of work to do.&amp;nbsp;But&amp;nbsp;our testing so far has been one nice surprise after another:&lt;/font&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;&lt;font size="2" face="Verdana"&gt;The 2005 backups restore cleanly onto&amp;nbsp;R2.&lt;/font&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;&lt;font size="2" face="Verdana"&gt;R2&amp;#39;s BI Studio upgraded the Reporting and Analysis Services solutions without any issues.&lt;/font&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;&lt;font size="2" face="Verdana"&gt;The cubes all&amp;nbsp;deployed and processed just fine.&lt;/font&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;&lt;font size="2" face="Verdana"&gt;R2 BI Studio interacts fine with TFS 2008 version control.&lt;/font&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;font size="2" face="Verdana"&gt;I&amp;#39;ll blog some more as things develop.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2" face="Verdana"&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt;&lt;img src="http://sqlblogcasts.com/aggbug.aspx?PostID=14312" width="1" height="1"&gt;</description><category domain="http://sqlblogcasts.com/blogs/davidwimbush/archive/tags/SQL+Server+2005/default.aspx">SQL Server 2005</category><category domain="http://sqlblogcasts.com/blogs/davidwimbush/archive/tags/SQL+Server+2008+R2/default.aspx">SQL Server 2008 R2</category><category domain="http://sqlblogcasts.com/blogs/davidwimbush/archive/tags/Upgrading/default.aspx">Upgrading</category></item></channel></rss>