|
| 1 | +--- |
| 2 | +title: Overview of the Data-Tier Application Experience (Preview) |
| 3 | +titleSuffix: MSSQL Extension for Visual Studio Code |
| 4 | +description: Learn how to use the Data-tier Application experience in the MSSQL extension for Visual Studio Code to deploy and extract DACPAC files, and import and export BACPAC files. |
| 5 | +author: tauseefsiddique10 |
| 6 | +ms.author: tsiddique |
| 7 | +ms.reviewer: roblescarlos, randolphwest |
| 8 | +ms.date: 11/18/2025 |
| 9 | +ms.service: sql |
| 10 | +ms.subservice: vs-code-sql-extensions |
| 11 | +ms.topic: overview |
| 12 | +ms.collection: |
| 13 | + - data-tools |
| 14 | +ai-usage: ai-assisted |
| 15 | +--- |
| 16 | + |
| 17 | +# Data-tier Application (Preview) |
| 18 | + |
| 19 | +The Data-tier Application experience provides an easy-to-use experience to deploy and extract `.dacpac` files and import and export `.bacpac` files. |
| 20 | + |
| 21 | +> [!NOTE] |
| 22 | +> Fabric targets aren't currently supported in this preview. |
| 23 | +
|
| 24 | +This experience makes it easier to manage `.dacpac` and `.bacpac` files, which simplifies the development and deployment of data-tier elements that support your application. For more information, see [Data-tier applications (DAC) overview](../../sql-database-projects/concepts/data-tier-applications/overview.md). |
| 25 | + |
| 26 | +## Features |
| 27 | + |
| 28 | +- Deploy a `.dacpac` file to a new or existing SQL database (Publish DACPAC) |
| 29 | +- Extract the schema from a SQL database to a `.dacpac` file (Extract DACPAC) |
| 30 | +- Import a `.bacpac` file to a new or empty database (Import BACPAC) |
| 31 | +- Export the schema and data from a SQL database to a `.bacpac` file (Export BACPAC) |
| 32 | + |
| 33 | +## Install the MSSQL extension |
| 34 | + |
| 35 | +To use the Data-tier Application features, install the MSSQL extension for Visual Studio Code. |
| 36 | + |
| 37 | +1. In Visual Studio Code, select the **Extensions** icon to view available extensions. |
| 38 | + |
| 39 | + :::image type="content" source="media/mssql-data-tier-application/data-tier-application-install.png" alt-text="Screenshot of installing the MSSQL extension in Visual Studio Code."::: |
| 40 | + |
| 41 | +1. Search for the **SQL Server (mssql)** extension and select it to view its details. Select **Install** to add the extension. |
| 42 | + |
| 43 | +1. Once installed, **Reload** to enable the extension in Visual Studio Code (only required when installing an extension for the first time). |
| 44 | + |
| 45 | +> [!TIP] |
| 46 | +> For a comprehensive overview of the MSSQL extension's features and capabilities, see [What is the MSSQL extension for Visual Studio Code?](mssql-extension-visual-studio-code.md) |
| 47 | +
|
| 48 | +## Launch the Data-tier Application experience |
| 49 | + |
| 50 | +To launch the experience in the MSSQL extension for Visual Studio Code, right-click the Databases node, or right-click a specific database in the Object Explorer. Then, select **Data-tier Application**. |
| 51 | + |
| 52 | +:::image type="content" source="media/mssql-data-tier-application/launch-data-tier-application.png" alt-text="Screenshot of launching the Data-tier Application experience in the MSSQL extension for Visual Studio Code."::: |
| 53 | + |
| 54 | +## Related content |
| 55 | + |
| 56 | +- [Data-tier applications (DAC) overview](../../sql-database-projects/concepts/data-tier-applications/overview.md) |
| 57 | +- [Quickstart: Connect to and query a database with the MSSQL extension for Visual Studio Code](connect-database-visual-studio-code.md) |
| 58 | +- [GitHub Copilot for MSSQL extension for Visual Studio Code](../github-copilot/overview.md) |
| 59 | +- [Schema Compare](mssql-schema-compare.md) |
| 60 | +- [Schema Designer](mssql-schema-designer.md) |
| 61 | +- [Learn more about Visual Studio Code](https://code.visualstudio.com/docs) |
| 62 | +- [Learn more about contributing to the MSSQL extension](https://github.com/Microsoft/vscode-mssql/wiki) |
0 commit comments