【问题标题】:Where can I find the Northwind database for Microsoft SQL Server 2008?在哪里可以找到 Microsoft SQL Server 2008 的 Northwind 数据库?
【发布时间】:2011-02-21 02:04:48
【问题描述】:

我正在尝试查找并创建/导入 Northwind 数据库以练习我的 Linq-fu。

我一辈子都找不到它,搜索只是把我转到这个页面,然后告诉我在不存在的官方页面上找到它。

http://msdn.microsoft.com/en-us/library/ms227484%28v=vs.90%29.aspx

在哪里可以找到 Northwind 数据库?

【问题讨论】:

    标签: sql-server northwind


    【解决方案1】:

    Northwind 没有随 SQL Server 2008 一起安装。您可以:

    它们采用 SQL Server 2000 格式/兼容模式。 Microsoft 似乎已停止使用这 2 个,转而使用 SQL Server 2008 的新示例数据库:AdventureWorks。

    您可以download AdventureWorks 2008 R2 SR1

    微软有它的SQL Server Product Database samples at CodePlex

    【讨论】:

    • 等等,AdventureWorks 似乎是推荐用于更新版本的数据库?这是真的吗?
    • @Sergio:是的,这是真的。这就是为什么他们没有重振 NWind 和酒吧,而是现在偏爱 AdventureWorks。他们正在展示 SQL Server 2008 的功能(包括 Filestream)。
    【解决方案2】:

    试试这个,了解如何找到下载和安装用于 Sql Server 2008 的 Northwind 和 Pubs 数据库的分步教程。

    northwind database sql server 2008

    【讨论】:

      【解决方案3】:

      适用于任何版本的 SQL SERVER。您可以使用 Northwind 数据库创建脚本自己创建数据库。

      从此站点下载 Northwind.sql.zip https://northwinddatabase.codeplex.com/downloads/get/269239

      然后在您的 Sql Server 中创建一个名为 Northwind 的数据库。 解压/解压文件,然后在 Sql Server Management Studio 中打开 sql 文件 选择所有代码(ctrl+a)然后按执行。

      【讨论】:

      • 非常感谢,只有此链接适用于 SQL 2008 及更新版本!
      猜你喜欢
      • 1970-01-01
      • 2012-04-17
      • 1970-01-01
      • 1970-01-01
      • 2022-01-24
      • 2012-02-29
      • 1970-01-01
      • 1970-01-01
      • 2023-03-26
      相关资源
      最近更新 更多