top of page
  • kintaimetriesami

Cómo crear y cargar la base de datos northwind con scripts de GitHub



Base de datos Northwind: What is it and how to download it




If you are interested in learning about databases, SQL, or data analysis, you might have heard of the Northwind database. This is a sample database that Microsoft provides to demonstrate the features and capabilities of its products, such as SQL Server, Access, and Power Apps. In this article, you will learn what the Northwind database is, how to download it for different platforms, and how to use it for your own learning and experimentation.




base de datos northwind download




What is the Northwind database?




A sample database for learning and demonstration purposes




The Northwind database is a fictitious database that contains the sales data of a specialty foods export/import company called Northwind Traders. It was originally created for Microsoft Access, but has since been ported to other SQL database products. The database contains several tables, views, stored procedures, functions, and triggers that illustrate various aspects of database design, development, and management. The database also comes with some sample queries and reports that show how to access and analyze the data.


The structure and content of the database




The Northwind database has a relational schema that consists of 13 tables and four views. The tables are organized into four categories: sales, purchasing, inventory, and human resources. The following diagram shows the relationships among the tables:



The tables store information about customers, orders, products, suppliers, employees, territories, regions, categories, shippers, and invoices. The views provide aggregated or filtered views of some of the tables. For example, the view called Order Subtotals calculates the subtotal for each order by multiplying the unit price by the quantity and discount for each order detail.


The database contains realistic but fictional data that covers a period from 1996 to 1998. There are 91 customers from 29 countries, 77 suppliers from 17 countries, 215 products from eight categories, 830 orders with 2,155 order details, nine employees with sales performance data, and four shippers.


How to download the Northwind database for SQL Server




Download the script file from GitHub




If you want to use the Northwind database with SQL Server, you need to download a script file that creates and populates the database on your SQL Server instance. You can find this script file on GitHub, in the following repository:



The file name is instnwnd.sql. You can download it by clicking on the Raw button and then saving it to your local folder.


Run the script file using SQL Server Management Studio or a similar tool




Before you can use the Northwind database, you have to run the downloaded instnwnd.sql script file to recreate the database on an instance of SQL Server by using SQL Server Management Studio (SSMS) or a similar tool. To do this, follow these steps:


base de datos northwind sql server descargar


base de datos northwind access descargar


base de datos northwind 2000 download


base de datos northwind ejemplo download


base de datos northwind script download


base de datos northwind para sql server 2019 download


base de datos northwind para sql server 2017 download


base de datos northwind para sql server 2016 download


base de datos northwind para sql server 2014 download


base de datos northwind para sql server 2012 download


base de datos northwind para sql server 2008 download


base de datos northwind para sql server 2005 download


base de datos northwind para mysql download


base de datos northwind para oracle download


base de datos northwind para postgresql download


base de datos northwind para sqlite download


base de datos northwind para mongodb download


base de datos northwind para azure download


base de datos northwind para aws download


base de datos northwind para google cloud download


base de datos northwind instalacion download


base de datos northwind tutorial download


base de datos northwind ejercicios download


base de datos northwind soluciones download


base de datos northwind diagrama download


base de datos northwind modelo entidad relacion download


base de datos northwind modelo relacional download


base de datos northwind modelo logico download


base de datos northwind modelo fisico download


base de datos northwind estructura download


base de datos northwind tablas download


base de datos northwind consultas download


base de datos northwind procedimientos almacenados download


base de datos northwind funciones download


base de datos northwind triggers download


base de datos northwind vistas download


base de datos northwind indices download


base de datos northwind claves primarias download


base de datos northwind claves foraneas download


base de datos northwind claves unicas download


base de datos northwind normalizacion download


base de datos northwind denormalizacion download


base de datos northwind backup download


base de datos northwind restore download


base de datos northwind importar download


base de datos northwind exportar download


base de datos northwind actualizar download


base de datos northwind modificar download


base de datos northwind eliminar download



  • Open SSMS and connect to your SQL Server instance.



  • Open a new query window and paste the content of the instnwnd.sql file.



  • Run the query. This will create a new database called Northwind on your SQL Server instance and fill it with data.



  • Refresh your databases list in SSMS and you should see the Northwind database.



How to How to download the Northwind database for Microsoft Access




Search for the Northwind template in Access




If you want to use the Northwind database with Microsoft Access, you can download it as a template from within Access. To do this, follow these steps:



  • Open Access and click on New.



  • In the search box, type Northwind and press Enter.



  • You should see a template called Northwind Traders. Click on it and then click on Create.



Create a copy of the Northwind database from the template




When you create a database from the Northwind template, Access will download the database file and save it to your local folder. You can then open the database and start using it. To do this, follow these steps:



  • After clicking on Create, Access will ask you to specify a file name and location for the database. Choose a suitable name and folder and click on OK.



  • Access will download the database file and open it. You should see a welcome screen with some information about the database.



  • Click on Enable Content to allow Access to run the macros and queries in the database.



  • You can now explore the database and its objects, such as tables, forms, reports, and macros.



How to use the Northwind database




Explore the sample data and queries




One of the main benefits of using the Northwind database is that it provides you with a rich set of sample data and queries that you can use to learn and practice SQL and data analysis skills. You can browse the data in the tables and views, run the queries and reports, and modify them to suit your needs. You can also create your own queries and reports based on the data in the database.


Some of the sample queries and reports that you can find in the Northwind database are:



  • Sales by Category: This query shows the total sales amount for each product category in each quarter of 1997.



  • Sales by Year: This report shows the total sales amount for each year from 1996 to 1998, grouped by country and product category.



  • Employee Sales Performance: This query shows the total sales amount for each employee in each month of 1997, along with their sales target and performance percentage.



  • Customer Labels: This report prints mailing labels for all customers in the database, sorted by country and city.



Learn from the sample apps and tutorials




Another benefit of using the Northwind database is that it serves as a basis for many sample apps and tutorials that Microsoft and other sources provide to demonstrate how to use various tools and technologies with databases. For example, you can find sample apps and tutorials that show how to:



  • Create a Power App based on the Northwind database



  • Create a web app using ASP.NET Core and Entity Framework Core with the Northwind database



  • Create a data warehouse using SQL Server Integration Services (SSIS) with the Northwind database



  • Create a dashboard using Power BI with the Northwind database



You can search online for these and other examples of how to use the Northwind database for learning and development purposes.


Conclusion




The Northwind database is a valuable resource for anyone who wants to learn about databases, SQL, or data analysis. It provides a realistic but fictional dataset that covers various aspects of business operations, such as sales, purchasing, inventory, and human resources. It also comes with some sample queries and reports that illustrate how to access and analyze the data. You can download the Northwind database for different platforms, such as SQL Server or Access, and use it for your own learning and experimentation. You can also find many sample apps and tutorials that use the Northwind database as a source of data.


FAQs




What is the difference between the Northwind and pubs databases?




The pubs database is another sample database that Microsoft provides for SQL Server. It contains information about book publishers, authors, titles, and sales. The pubs database is smaller and simpler than the Northwind database, but it also illustrates some basic concepts of relational databases.


Where can I find more information about the Northwind database?




You can find more information about the Northwind database on Microsoft Docs, such as:









How can I modify the Northwind database to suit my needs?




You can modify the Northwind database to suit your needs by using the tools and features of the platform that you are using. For example, you can use SSMS to add, delete, or update the tables, views, stored procedures, functions, and triggers in the SQL Server version of the database. You can use Access to create new forms, reports, macros, and modules in the Access version of the database. You can also use other tools, such as Visual Studio, Power Apps, or Power BI, to create custom applications or dashboards based on the Northwind database.


How can I share the Northwind database with others?




You can share the Northwind database with others by using the sharing options of the platform that you are using. For example, you can use SQL Server to backup and restore the database to another SQL Server instance, or attach and detach the database files. You can use Access to export and import the database objects to another Access file, or split the database into a front-end and a back-end. You can also use other tools, such as OneDrive, SharePoint, or GitHub, to upload and download the database files.


What are some alternatives to the Northwind database?




If you are looking for other sample databases that you can use for learning and demonstration purposes, you can find some alternatives to the Northwind database online. Some of them are:



  • : This is another sample database that Microsoft provides for SQL Server. It contains information about a fictional bicycle manufacturing company called Adventure Works Cycles.



  • : This is a sample database that contains information about a digital media store. It supports multiple SQL platforms, such as SQLite, MySQL, PostgreSQL, Oracle, and SQL Server.



  • : This is a sample database that contains information about a DVD rental store. It is available for MySQL and PostgreSQL.



44f88ac181


3 views0 comments

Recent Posts

See All

Can 39;t Download [CRACKED] Red Dead Redemption 2 Ps4

Can't Download Red Dead Redemption 2 PS4? Here's How to Fix It Red Dead Redemption 2 is one of the most popular and critically acclaimed games of the last decade. It is a sprawling open-world adventur

bottom of page