A SQL Server Database Project that defines the schema for the Northwind transactional (OLTP) database. The project uses SQL Server Data Tools (SSDT) to keep database objects under source control and produce repeatable builds and deployments.
The project currently contains table definitions for:
- Categories
- Customers and customer demographics
- Employees and employee territories
- Orders and order details
- Products
- Regions and territories
- Shippers
- Suppliers
NorthwindProject/
├── Schema/
│ └── tables/ # Version-controlled table definitions
├── NorthWindBI.slnx # Visual Studio solution
├── NorthWindOLTP.sqlproj # SSDT database project
└── NorthWindOLTP.publish.xml # SQL Server publish profile
Build outputs under bin/ and obj/, along with Visual Studio user settings,
are excluded from source control.
- Visual Studio with the Data storage and processing workload
- SQL Server Data Tools (SSDT)
- A compatible SQL Server instance
- Open
NorthWindBI.slnxin Visual Studio. - Right-click the
NorthWindOLTPproject. - Select Build.
- Confirm that the generated DACPAC appears under
bin/Debug/.
- Ensure that your SQL Server instance is available.
- Review the server and database settings in
NorthWindOLTP.publish.xml. - Right-click the project and select Publish.
- Review the generated deployment script before applying it.
The included profile targets a local SQL Server instance and creates or
updates the NorthWindDB database. Adjust the profile for your environment;
do not commit passwords or other secrets.
This project demonstrates database schema management, relational modeling, source control, and repeatable SQL Server deployments using SSDT.