Install adventure and northwind Sample Database, adventurenorthwind
There are a lot of information on AdventureWorks database installation for help on the Internet. You can also find many answers to this question in baidu and google, but some of the answers are vague. After reading these answers, it is understandable. For example:
1. Download The Adventureworks database from the official website, install the database, and append it to ms SQL Server2005 using two methods.
2. Locate \ Program Files \ Microsoft SQL Server \ 90 \ Tools \ Samples \, and double-click SqlServerSamples. msi to start the installation Program. (SQL 2005 books online)
However, most Adventureworks databases are not installed with sql2005, And the directory AdventureWorks OLTP or AdventureWorksDW cannot be found under the sql2005 installation directory, not to mention its installation script (instawdb. SQL.
I will share with you the following practices.
Steps:
1. Obtain the AdventureWorks and Northwind databases. For example, the csdn download channel provides download.
2. Extract the AdventureWorks and Northwind databases to the specified directory.
3. copy the obtained database file (AdventureWorks. bak or CreateAdventureWork. SQL) to your Sql2005 data directory.
4. Start SQL 2005 and enter the operation interface. Right-click the database node and choose attach (tear off)> browse specified AdventureWorks_Data> OK.
5 OK. Now you can use the AdventureWorks and Northwind databases.
Other Instructions:
1. Now, the Sample Database SQL Server sample Database is no longer in Microsoft Download, but at www.codeplex.com. Here, the Sample databases navigation indicates whether you need sql2005, sql2008, and hz2014.
There are a lot of Sample databases about AdventureWorks, which are classified into X86, X64, and IA64, and each category contains the Database (OLTP Sample database), BI (Data Warehouse) and LT (simplified database Based on AdventureWorks OLTP) have their respective CI versions. Select the corresponding download file.
Relationship Diagram of the Northwind database table
Http://download.csdn.net/detail/cashcat2004/9100933
Http://download.csdn.net/detail/cashcat2004/9100919
- Other example database references
Http://www.codeplex.com/
Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.