[教學] 在SQL Server 2017 匯入北風資料庫

Chris Chen
2 min readMay 12, 2018

--

北風資料庫(Northwind)是微軟提供的一個範例資料庫,這次因為要做個簡單的demo作業。因為我的電腦已經預先安裝SQL Server 2017 Express Edition,但北風資料庫是for SQL Server 2000的版本,於是做個筆記,記錄我是如何把北風資料庫匯入SQL Server 2017。

下載連結

SQL Server 2017 Express Edition

Northwind and pubs Sample Databases for SQL Server 2000

執行步驟

Step1. 安裝 SQL Server 2017 Express Edition

Step2. 安裝 Northwind and pubs Sample Databases for SQL Server 2000

由於我已經裝好SQL Server 2017,我只有直接執行北風資料庫的安裝檔。

Step3. 至SQL Server 2000的資料夾內開啟instnwnd.sql

(我的路徑為 C:\SQL Server 2000 Sample Databases,若你沒修改預設路徑應該會一樣)

Step4. 將 24 & 25行註解掉

Step5. 開啟 SQL Server 2017 並執行instnwnd.sql

參考資料

https://dotblogs.com.tw/brooke/2015/06/17/151585

--

--

Chris Chen
Chris Chen

No responses yet