Ssdt

Tag: ssdt

How to Stop SSDT / Database Projects / SQLPackage from Modifying Database Options

How to Stop SSDT / Database Projects / SQLPackage from Modifying Database Options

SQL Server’s free state-based version control tooling was introduced under the ‘Data Dude’ brand, then became known as ‘SQL Server Data Tools’ (SSDT). Its extension for the (now dying) Azure Data Studio IDE is called ‘SQL Database Projects’. If you need to find documentation, you often need to know to search for specific component names like SQLPackage.exe, which is a command line utility used to deploy SSDT Projects AKA SQL Database Projects.

Continue reading

Managing Drift in Automated Deployments to SQL Server Databases

Managing Drift in Automated Deployments to SQL Server Databases

One big gotcha that teams often encounter when automating deployments for databases is that it’s difficult (or sometimes impossible) to ensure that all changes to the production database are performed through the automation pipeline.

These out-of-band changes case the production database to “drift” away from the schema as defined in version control.

Continue reading

SQL Change Automation, Visual Studio, and the Unknown SQL Server Platform Error

SQL Change Automation, Visual Studio, and the Unknown SQL Server Platform Error

I recently set up Redgate’s SQL Change Automation in Visual Studio 2017, and I ran into a confusing error when I started trying to use it. For any other folks out there searching on “Unknown SQL Server Platform,” here’s how I got past it.

Spoiler: Visual Studio suggested updating Microsoft’s SQL Server Data Tools, which failed for me and wasted a lot of time.Β Updating Visual StudioΒ did fix my issue.

Continue reading