liveBook · Manning

Dacpac

A DACPAC is a SQL Server data-tier application package containing definitions of database objects for schema deployment.

How 2 Manning books explain it

Learn Docker in a Month of Lunches, Second Edition

A DACPAC is a binary data-tier application package that contains the schema definition of a SQL Server database.

How it is used
Deploys versioned SQL Server schema changes consistently across disposable environments and production.
How deep it goes
Defines the artifact and deployment workflow, but deliberately avoids deeper SQL Server-specific implementation details.
Examples
Uses the Nerd Dinner database image, Dockerfile, initialization script, and container startup deployment.
What you can do after
Build and deploy a versioned SQL Server schema through a DACPAC and Docker image.

Read how Learn Docker in a Month of Lunches, Second Edition explains dacpac →

100 SQL Server Mistakes and How to Avoid Them

A dacpac file is a SQL Server database deployment package containing XML definitions of database objects.

How it is used
Packages database project output for tested, source-controlled deployment through CI/CD environments.
How deep it goes
Defines the zip and XML structure and places creation within build services, but does not detail deployment internals.
Examples
Uses Visual Studio publishing, the Register As a Data-tier Application option, and renaming a dacpac to .zip for inspection.
What you can do after
Apply it via CI/CD tooling to package and promote database changes across release environments.

Read how 100 SQL Server Mistakes and How to Avoid Them explains dacpac →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.