DP-700

Implement database projects

This article explains what a warehouse database project contains and what it leaves out, and how to download a database project and use it to recreate a schema in a new warehouse.

Phillip Burton · Published 2 December 2026

What a database project contains

A database project is automatically implemented when you add a warehouse to source control.

It contains SQL code saved in Data Definition Language (DDL) as .sql files for the schema (definition) of items in the database, including tables, views, functions or stored procedures.

What it does not include

  • It does not include data.
  • It also does not include SQL security features, such as object-, column- or row-level security, or dynamic data masking.
    • These could be exported manually if the features were separately written in code.

Important

Git integration cannot easily handle ALTERations to a TABLE. If you execute an ALTER TABLE, the table will be dropped and then created again, which may result in data loss.

You can then manage a warehouse schema in Azure Data Studio and Visual Studio Code using the SQL Database Projects extension.

Downloading a database project

This database project can also be downloaded:

  1. Go to the Home tab in the warehouse.
  2. Click Download SQL database project.
A warehouse with the Download SQL database project dialog open, showing the Download button.
Downloading a warehouse’s SQL database project.

Copying the schema to a new warehouse

You can use this downloaded file to copy the schema to a newly created warehouse. When the warehouse is empty:

  1. On the main screen, click SQL database project in the Start developing section.
  2. Upload your SQL database project folder zipped file.
An empty warehouse with the Start with SQL database project dialog open, showing the destination warehouse and a Choose file button for the SQL database project zip file.
Starting an empty warehouse from a SQL database project zip file.

You can also do this by creating a deployment pipeline, which means that changes in one warehouse’s schema can be replicated in another warehouse’s schema.

Continue studying DP-700

This article covers Implement database projects, part of the Implement lifecycle management in Fabric section of the DP-700 study guide.

Related articles

← Back to the DP-700 study guide

Leave a Comment