摘要:MSSQL 2005預設沒有Nortwind.mdf、Pub.mdf怎麼辦?
最近被朋友反應一個問題,『奇怪了,之前安裝MSSQL 2000不是都有預設一些可以使用的DB嗎?』
沒錯,在MSSQL 2005預設安裝裡,沒有把以前我們所熟悉的Northwind、Pub資料庫一併安裝進去,取
得代之的是「AdvantureWorks」與「AdvantureWorksDW」,相信常在MSDN Online查詢與閱讀的人,
一定是相當清楚這二個新型的資料庫,幫助我們了解了很多MSSQL 2005所新增的功能與方便之處。
在這邊我不多加描述MSSQL 2005,因為我怕會打字打到我的手斷掉,所以我想說還是有人會需要到使用
Northwind、Pub的資料庫,為了方便他們尋詢,我將我從Microsoft MSDN網站找到的資料,放在這邊,供
大家使用,如下:
=============================================================================================
SQL Server 2005 Books Online
Downloading Northwind and pubs Sample Databases
The Northwind and pubs sample databases are not installed by default in Microsoft SQL Server 2005.
These databases can be downloaded from this Microsoft Web site.
After downloading SQL2000SampleDb.msi, extract the sample database scripts by double-clicking SQL2000SampleDb.msi.
SQL2000SampleDb.msi will extract the database scripts and a Readme file into this default folder: C:\SQL Server 2000 Sample Databases.
Follow the instructions in the Readme file for running the installation scripts.
==============================================================================================
希望對大家有所幫助。
Reference:
2) http://www.microsoft.com/downloads/details.aspx?FamilyId=06616212-0356-46A0-8DA2-EEBC53A68034&displaylang=en <=直接下載網址