<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>Microsoft SQL Server Product Samples: Database</title><link>http://msftdbprodsamples.codeplex.com/project/feeds/rss</link><description>This project contains Database samples released with Microsoft SQL Server product.   </description><item><title>Reviewed: AdventureWorks 2008R2 SR1 (May 22, 2013)</title><link>https://msftdbprodsamples.codeplex.com/releases/view/55926#ReviewBy-okanyuksel</link><description>Rated 5 Stars &amp;#40;out of 5&amp;#41; - Zorla yorum mu olur arkadaş &amp;#63;</description><author>okanyuksel</author><pubDate>Wed, 22 May 2013 10:42:21 GMT</pubDate><guid isPermaLink="false">Reviewed: AdventureWorks 2008R2 SR1 (May 22, 2013) 20130522104221A</guid></item><item><title>Created Unassigned: vNext not invented here [19736]</title><link>http://msftdbprodsamples.codeplex.com/workitem/19736</link><description>in the &amp;#34;Other Downloads&amp;#34; tab there is a vNext &amp;#34;placeholder for after SQL2008R2&amp;#34;, but doesn&amp;#39;t point to SQL2012. &amp;#91;chocolate teapot&amp;#33;&amp;#93;&lt;br /&gt;</description><author>DickWonga</author><pubDate>Mon, 20 May 2013 11:27:36 GMT</pubDate><guid isPermaLink="false">Created Unassigned: vNext not invented here [19736] 20130520112736A</guid></item><item><title>Reviewed: AdventureWorks 2008R2 SR1 (May 20, 2013)</title><link>https://msftdbprodsamples.codeplex.com/releases/view/55926#ReviewBy-okanyuksel</link><description>Rated 5 Stars &amp;#40;out of 5&amp;#41; - Zorla yorum mu olur arkadaş &amp;#63;</description><author>okanyuksel</author><pubDate>Mon, 20 May 2013 09:30:06 GMT</pubDate><guid isPermaLink="false">Reviewed: AdventureWorks 2008R2 SR1 (May 20, 2013) 20130520093006A</guid></item><item><title>Reviewed: AdventureWorks Databases – 2012, 2008R2 and 2008 (May 18, 2013)</title><link>https://msftdbprodsamples.codeplex.com/releases/view/93587#ReviewBy-ewascent</link><description>Rated 4 Stars &amp;#40;out of 5&amp;#41; - There are many copies of these MDFs floating around and several steps to allow some of them to attach. With the 2008LT and 2012LT versions it was very easy to attach them to my named instance logging on as LocalSystem with Filestream enabled. Not sure all that was required, but I went through three attempts to get a test db installed fast. Thanks.</description><author>ewascent</author><pubDate>Sun, 19 May 2013 02:43:35 GMT</pubDate><guid isPermaLink="false">Reviewed: AdventureWorks Databases – 2012, 2008R2 and 2008 (May 18, 2013) 20130519024335A</guid></item><item><title>Closed Issue: AdventureWorksLT script should not require AdventureWorks OLTP [7322]</title><link>http://msftdbprodsamples.codeplex.com/workitem/7322</link><description>AdventureWorksLT script should not require that the AdventureWorks OLTP be installed.  Note that the backups do not require AdventureWorks OLTP, only running the scripts.&lt;br /&gt;</description><author>bonniefe</author><pubDate>Thu, 16 May 2013 12:41:14 GMT</pubDate><guid isPermaLink="false">Closed Issue: AdventureWorksLT script should not require AdventureWorks OLTP [7322] 20130516124114P</guid></item><item><title>Closed Issue: AdventureWorks2008R2_NovemberCTP.exe works only on default instance [10952]</title><link>http://msftdbprodsamples.codeplex.com/workitem/10952</link><description>Sql 20008 R2 november ctp  installed as named instace , &lt;br /&gt;On teh same server a default Sql 2005 is present &lt;br /&gt;&amp;#160;&lt;br /&gt;THe following errors happen while executing AdventureWorks2008R2_NovemberCTP.exe&lt;br /&gt;If the defaul Sql 2005 is not running --&amp;#62;error Can&amp;#39;t connect to local Sql service &lt;br /&gt;If the defaul Sql 2005 is running --&amp;#62;Failed object initialization &amp;#40;isupportinitialize.endinit&amp;#41;Cannot read property Filestreamlevel&lt;br /&gt;&amp;#160;&lt;br /&gt;&amp;#160;&lt;br /&gt;Is it by design that AdventureWorks2008R2_NovemberCTP.exe can run only on default instance of Sql server 2008 R2 NovemberCTP&amp;#63;&lt;br /&gt;</description><author>gbologna</author><pubDate>Thu, 16 May 2013 12:41:11 GMT</pubDate><guid isPermaLink="false">Closed Issue: AdventureWorks2008R2_NovemberCTP.exe works only on default instance [10952] 20130516124111P</guid></item><item><title>Created Issue: Missing "After Delete" Triggers!!! [19710]</title><link>http://msftdbprodsamples.codeplex.com/workitem/19710</link><description>There are two triggers In all &amp;#34;Detail Tables&amp;#34;. It seems that in these tables we have missing &amp;#34;After Delete Triggers&amp;#34;. It&amp;#39;s obvious that if we delete one row in Detail Table we need to trigger Header Table to update the &amp;#34;SubTotal&amp;#34; Column. &lt;br /&gt;For example in these tables&amp;#58;&lt;br /&gt;&amp;#91;Purchasing&amp;#93;.&amp;#91;PurchaseOrderHeader&amp;#93;&lt;br /&gt;&amp;#91;Sales&amp;#93;.&amp;#91;SalesOrderDetail&amp;#93;&lt;br /&gt;&lt;br /&gt;Regards, &lt;br /&gt;Saeid Hasani&lt;br /&gt;</description><author>SaeidHasani</author><pubDate>Tue, 14 May 2013 21:41:35 GMT</pubDate><guid isPermaLink="false">Created Issue: Missing "After Delete" Triggers!!! [19710] 20130514094135P</guid></item><item><title>Commented Issue: AdventureWorks Databases – 2012, 2008R2 and 2008 [18559]</title><link>http://msftdbprodsamples.codeplex.com/workitem/18559</link><description>Hello,&lt;br /&gt;&amp;#160;&lt;br /&gt;I uploaded AdventureWorks databases for 2012, 2008R2 and 2008 to http&amp;#58;&amp;#47;&amp;#47;msftdbprodsamples.codeplex.com&amp;#47;releases&amp;#47;view&amp;#47;93587. This release consolidates AdventureWorks databases for SQL Server 2012, 2008R2 and 2008 versions to one page. Each zip file contains an mdf database file and ldf log file. This should make it easier for you to find, download, and attach the AdventureWorks databases. There are no database schema changes.&lt;br /&gt;Comments: ** Comment from web user: spelluru ** &lt;p&gt;Version 661 is SQL Server 2008 and 612 is SQL Server 2005 SP2. Please make sure that you downloaded the right package. You may have multiple SQL Server instances on your computer, so make sure that you are running against the right SQL instance.&lt;/p&gt;&lt;p&gt;Here is a short list of version for the major SQL Server versions I compiled:&lt;br&gt;SQL Server Version	Compatibility Level	Internal Database Version	Build&lt;br&gt;SQL Server 2012 RTM	110	                  706	                                    11.0.2100.60&lt;br&gt;SQL Server 2008 R2	100	                  665	                                    10.50.xxxx&lt;br&gt;SQL Server 2008	100	                  661	                                    10.00.xxxx&lt;br&gt;SQL Server 2005&amp;#160; SP2	90	                  612	                                    9.00.xxxx&lt;br&gt;SQL Server 2005	90	                  611	                                    9.00.xxxx&lt;br&gt;SQL Server 2000	80	                  539	                                    8.00.xxx(x)&lt;/p&gt;&lt;p&gt;Run this query to confirm the version installed on your computer:&lt;br&gt;SELECT @@Version,&lt;br&gt;SERVERPROPERTY('productversion') as [Product version],&lt;br&gt;SERVERPROPERTY ('productlevel') as [Product level] ,&lt;br&gt;SERVERPROPERTY ('edition') as [Edition],&lt;br&gt;DATABASEPROPERTYEX((select DB_Name()),'Version') as [Internal Version Number],&lt;br&gt;DATABASEPROPERTY((select DB_Name()),'Version') as [Internal Version Number--Deprecated],&lt;br&gt;(select DB_Name()) as DBName,&lt;br&gt;(SELECT COMPATIBILITY_LEVEL FROM SYS.DATABASES WHERE NAME = (select DB_Name())) as compatibilityLevel&lt;/p&gt;</description><author>spelluru</author><pubDate>Tue, 14 May 2013 20:11:34 GMT</pubDate><guid isPermaLink="false">Commented Issue: AdventureWorks Databases – 2012, 2008R2 and 2008 [18559] 20130514081134P</guid></item><item><title>Commented Issue: AdventureWorks Databases – 2012, 2008R2 and 2008 [18559]</title><link>http://msftdbprodsamples.codeplex.com/workitem/18559</link><description>Hello,&lt;br /&gt;&amp;#160;&lt;br /&gt;I uploaded AdventureWorks databases for 2012, 2008R2 and 2008 to http&amp;#58;&amp;#47;&amp;#47;msftdbprodsamples.codeplex.com&amp;#47;releases&amp;#47;view&amp;#47;93587. This release consolidates AdventureWorks databases for SQL Server 2012, 2008R2 and 2008 versions to one page. Each zip file contains an mdf database file and ldf log file. This should make it easier for you to find, download, and attach the AdventureWorks databases. There are no database schema changes.&lt;br /&gt;Comments: ** Comment from web user: mvtaylor0487 ** &lt;p&gt;I have downloaded all of the available version for AdventureWorks 2008. When I try to attach the database I get an error that states that I need version 612. I am not sure how to get 612. I have 661 and 655. Any help would be appreciated.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</description><author>mvtaylor0487</author><pubDate>Tue, 14 May 2013 19:14:49 GMT</pubDate><guid isPermaLink="false">Commented Issue: AdventureWorks Databases – 2012, 2008R2 and 2008 [18559] 20130514071449P</guid></item><item><title>Commented Issue: AdventureWorksDW2012 Data File not working [19051]</title><link>http://msftdbprodsamples.codeplex.com/workitem/19051</link><description>Hi guys.&lt;br /&gt;Its impossible to download AdventureWorksDW2012 Data File.&lt;br /&gt;&lt;br /&gt;Best Regards&lt;br /&gt;Comments: ** Comment from web user: mvtaylor0487 ** &lt;p&gt;I have downloaded all of the available version for AdventureWorks 2008.  When I try to attach the database I get an error that states that I need version 612.  I am not sure how to get 612.  I have 661 and  655.  Any help would be appreciated.&lt;/p&gt;</description><author>mvtaylor0487</author><pubDate>Tue, 14 May 2013 19:11:30 GMT</pubDate><guid isPermaLink="false">Commented Issue: AdventureWorksDW2012 Data File not working [19051] 20130514071130P</guid></item><item><title>Reviewed: AdventureWorks Databases – 2012, 2008R2 and 2008 (May 07, 2013)</title><link>https://msftdbprodsamples.codeplex.com/releases/view/93587#ReviewBy-Richagupta1985</link><description>Rated 3 Stars &amp;#40;out of 5&amp;#41; - I am not able to attach database AdventureWorks2008R2 with SQL Server 2008R2. It gives this error&amp;#58;&amp;#10;&amp;#10;The database &amp;#39;AdventureWorks2008R2&amp;#39; cannot be opened because it is version 661. This server supports version 655 and earlier. A downgrade path is not supported.&amp;#10;Could not open new database &amp;#39;AdventureWorks2008R2&amp;#39;. CREATE DATABASE is aborted. &amp;#40;Microsoft SQL Server, Error&amp;#58; 948&amp;#41;&amp;#10;&amp;#10;Please help&amp;#33;</description><author>Richagupta1985</author><pubDate>Tue, 07 May 2013 11:34:38 GMT</pubDate><guid isPermaLink="false">Reviewed: AdventureWorks Databases – 2012, 2008R2 and 2008 (May 07, 2013) 20130507113438A</guid></item><item><title>Reviewed: AdventureWorks Databases – 2012, 2008R2 and 2008 (May 07, 2013)</title><link>https://msftdbprodsamples.codeplex.com/releases/view/93587#ReviewBy-Richagupta1985</link><description>Rated 3 Stars &amp;#40;out of 5&amp;#41; - I am not able to attach database AdventureWorks2008R2 with SQL Server 2008R2. It gives below error&amp;#58;&amp;#10;&amp;#10;The database &amp;#39;AdventureWorks2008R2&amp;#39; cannot be opened because it is version 661. This server supports version 655 and earlier. A downgrade path is not supported.&amp;#10;Could not open new database &amp;#39;AdventureWorks2008R2&amp;#39;. CREATE DATABASE is aborted. &amp;#40;Microsoft SQL Server, Error&amp;#58; 948&amp;#41;&amp;#10;&amp;#10;Please help&amp;#33;</description><author>Richagupta1985</author><pubDate>Tue, 07 May 2013 11:34:14 GMT</pubDate><guid isPermaLink="false">Reviewed: AdventureWorks Databases – 2012, 2008R2 and 2008 (May 07, 2013) 20130507113414A</guid></item><item><title>Reviewed: AdventureWorks 2008R2 SR1 (五月 06, 2013)</title><link>https://msftdbprodsamples.codeplex.com/releases/view/55926#ReviewBy-maruihhy</link><description>Rated 5 Stars &amp;#40;out of 5&amp;#41; - thank you very much</description><author>maruihhy</author><pubDate>Mon, 06 May 2013 09:58:04 GMT</pubDate><guid isPermaLink="false">Reviewed: AdventureWorks 2008R2 SR1 (五月 06, 2013) 20130506095804A</guid></item><item><title>Reviewed: AdventureWorks Databases – 2012, 2008R2 and 2008 (May 04, 2013)</title><link>https://msftdbprodsamples.codeplex.com/releases/view/93587#ReviewBy-KRob636</link><description>Rated 5 Stars &amp;#40;out of 5&amp;#41; - Simple. Nice. Clean. Thank you</description><author>KRob636</author><pubDate>Sat, 04 May 2013 20:39:30 GMT</pubDate><guid isPermaLink="false">Reviewed: AdventureWorks Databases – 2012, 2008R2 and 2008 (May 04, 2013) 20130504083930P</guid></item><item><title>Reviewed: AdventureWorks 2008R2 SR1 (May 01, 2013)</title><link>https://msftdbprodsamples.codeplex.com/releases/view/55926#ReviewBy-oziyn</link><description>Rated 5 Stars &amp;#40;out of 5&amp;#41; - very very good program and easy to use &amp;#58;&amp;#41; </description><author>oziyn</author><pubDate>Wed, 01 May 2013 18:00:19 GMT</pubDate><guid isPermaLink="false">Reviewed: AdventureWorks 2008R2 SR1 (May 01, 2013) 20130501060019P</guid></item><item><title>Reviewed: AdventureWorks 2008R2 SR1 (May 01, 2013)</title><link>https://msftdbprodsamples.codeplex.com/releases/view/55926#ReviewBy-oziyn</link><description>Rated 5 Stars &amp;#40;out of 5&amp;#41; - very very good program and using flexibilty &amp;#58;&amp;#41; </description><author>oziyn</author><pubDate>Wed, 01 May 2013 17:59:23 GMT</pubDate><guid isPermaLink="false">Reviewed: AdventureWorks 2008R2 SR1 (May 01, 2013) 20130501055923P</guid></item><item><title>Reviewed: AdventureWorks 2008R2 SR1 (May 01, 2013)</title><link>https://msftdbprodsamples.codeplex.com/releases/view/55926#ReviewBy-oziyn</link><description>Rated 5 Stars &amp;#40;out of 5&amp;#41; - very very good program and using flexibilty &amp;#58;&amp;#41; daha ne diyeyim &amp;#58;D ehehee</description><author>oziyn</author><pubDate>Wed, 01 May 2013 17:59:01 GMT</pubDate><guid isPermaLink="false">Reviewed: AdventureWorks 2008R2 SR1 (May 01, 2013) 20130501055901P</guid></item><item><title>Reviewed: Adventure Works for Azure SQL Database (Apr 30, 2013)</title><link>https://msftdbprodsamples.codeplex.com/releases/view/37304#ReviewBy-Heidist</link><description>Rated 5 Stars &amp;#40;out of 5&amp;#41; - Here is a tip for windows 8 users&amp;#33;  thanks to Joanne Hendrickson who figured this out.  The following syntax worked for her&amp;#58;&amp;#10;&amp;#10;CreateAdventureWorksForSQLAzure.cmd    &amp;#60;serverGUID&amp;#62;.database.windows.net    &amp;#60;sqllogin&amp;#62;&amp;#64;&amp;#60;serverGUID&amp;#62; &amp;#60;password&amp;#62;&amp;#10;&amp;#10;The key was specifying username&amp;#64;servername instead of just username. </description><author>Heidist</author><pubDate>Tue, 30 Apr 2013 21:28:50 GMT</pubDate><guid isPermaLink="false">Reviewed: Adventure Works for Azure SQL Database (Apr 30, 2013) 20130430092850P</guid></item><item><title>Reviewed: Adventure Works for Azure SQL Database (Apr 30, 2013)</title><link>https://msftdbprodsamples.codeplex.com/releases/view/37304#ReviewBy-Heidist</link><description>Rated 5 Stars &amp;#40;out of 5&amp;#41; - Here is a tip for windows 8 users&amp;#33;  thanks to Joanne Hendrickson who figured this out.  The following syntax worked for her&amp;#58;&amp;#10;&amp;#10;CreateAdventureWorksForSQLAzure.cmd    &amp;#60;serverGUID&amp;#62;.database.windows.net    &amp;#60;sqllogin&amp;#62;&amp;#64;&amp;#60;serverGUID&amp;#62; &amp;#60;password&amp;#62;</description><author>Heidist</author><pubDate>Tue, 30 Apr 2013 21:25:04 GMT</pubDate><guid isPermaLink="false">Reviewed: Adventure Works for Azure SQL Database (Apr 30, 2013) 20130430092504P</guid></item><item><title>Updated Release: AdventureWorksDW Databases – 2012, 2008R2 and 2008 (Apr 30, 2013)</title><link>https://msftdbprodsamples.codeplex.com/releases/view/105902</link><description>&lt;div class="wikidoc"&gt;&lt;b&gt;About this release&lt;/b&gt;&lt;br /&gt;This release consolidates AdventureWorksDW databases for SQL Server 2012, 2008R2 and 2008 versions to one page. Each zip file contains an mdf database file and an ldf log file. This should make it easier to find and download AdventureWorksDW databases since all OLAP versions are on one page. &lt;br /&gt;&lt;br /&gt;An AdventureWorksDW database can be installed by attaching the database, or using the CREATE DATABASE statement.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To attach an AdventureWorks database&lt;/b&gt;
&lt;ol&gt;&lt;li&gt;Download a database for your SQL Server version.&lt;/li&gt;
&lt;li&gt;Unzip the database (mdf) file and log (ldf) file.&lt;/li&gt;
&lt;li&gt;From Microsoft SQL Server Management Studio, connect to a SQL Server instance.&lt;/li&gt;
&lt;li&gt;Right click Databases.&lt;/li&gt;
&lt;li&gt;Click Attach.&lt;/li&gt;
&lt;li&gt;Click the Add button.&lt;/li&gt;
&lt;li&gt;Locate the AdventureWorksDW database mdf file. For instance, AdventureWorksDW2012_Data.mdf.&lt;/li&gt;
&lt;li&gt;Click the OK button on the Locate Database Files dialog window.&lt;/li&gt;
&lt;li&gt;Click the OK button on the Attach Databases dialog window to attach the database.&lt;/li&gt;&lt;/ol&gt;
&lt;b&gt;CREATE DATABASE statement&lt;/b&gt;&lt;br /&gt;From SQL Server Management Studio, execute the following T-SQL:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Example T-SQL&lt;/b&gt;&lt;br /&gt;&lt;div style="color:Black;background-color:White;"&gt;&lt;pre&gt;
&lt;span style="color:Blue;"&gt;CREATE&lt;/span&gt; &lt;span style="color:Blue;"&gt;DATABASE&lt;/span&gt; AdventureWorksDW2012 &lt;span style="color:Blue;"&gt;ON&lt;/span&gt; (FILENAME = &lt;span style="color:#A31515;"&gt;&amp;#39;M:\Data\AdventureWorksDW2012_Data.mdf&amp;#39;&lt;/span&gt;), (FILENAME = &lt;span style="color:#A31515;"&gt;&amp;#39;L:\Tlogs\AdventureWorksDW2012_Log.ldf&amp;#39;&lt;/span&gt;) &lt;span style="color:Blue;"&gt;FOR&lt;/span&gt; ATTACH;
&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>spelluru</author><pubDate>Tue, 30 Apr 2013 18:54:29 GMT</pubDate><guid isPermaLink="false">Updated Release: AdventureWorksDW Databases – 2012, 2008R2 and 2008 (Apr 30, 2013) 20130430065429P</guid></item></channel></rss>