Skip to content
Home » CI and CD with SSDT

CI and CD with SSDT

Contained Availability Groups in SQL Server 2022

While being an awesome feature introduced in SQL Server 2012, Availability Groups were always missing the ability to synchronize server-level objects between replicas. This finally changed 10 years later, in SQL Server 2022, with the introduction of “Contained Availability Groups”.

A contained availability group is an Always On availability group that supports:

  • managing metadata objects (users, logins, permissions, SQL Agent jobs etc.) at the availability group level in addition to the instance level.
  • specialized contained system databases within the availability group.

In this session, you will:

  • learn about the similarities, differences, and functionalities of contained availability groups.
  • see a live demo of the creation and usage of a contained availability group.
  • learn how to work with the feature of contained availability groups and its pros and cons.
Read More »Contained Availability Groups in SQL Server 2022

How to Save Money on Your SQL Server Hardware

Having a production machine with SQL Server in your organization is no cheap feat. Significant costs could accumulate due to expensive hardware and licensing.

How could we know whether our SQL Server machine is wasting our money? What are the most common pitfalls? How to detect them and what can we do to remedy them?

Learn all this and more in this session.

This session contains tips relevant to SQL Servers on-premises as well as in the cloud.

Read More »How to Save Money on Your SQL Server Hardware

How to HADR Your SQL Jobs

You have a couple or more SQL Servers with some sort of High Availability solution between them (AlwaysOn Availability Groups, Database Mirroring, etc.). You also have a bunch of scheduled jobs that you need to run on the Primary server.

But wait…. How would you make these jobs run only on the Primary server? After all, if they try to run on the Secondary, they might fail (whether because the database is inaccessible or because it’s read-only). Additionally, you would need to consider a failover where the Primary and Secondary servers would switch roles.

This means that you would have to create these jobs on both servers, and then implement some sort of mechanism that would detect, for each job, whether the instance it’s being executed at is currently the Primary.

There are a few ways to go about doing this. During this session, we will cover possible solutions, downfalls, tricks, and much more.

Read More »How to HADR Your SQL Jobs
Creativity has its price

Advanced Dynamic Search Queries

What is the solution for implementing truly dynamic search queries? Not just a stored procedure with optional parameters, but something even more dynamic than that? Let the end-user choose the exact fields and, more importantly, the operator types to use on them, in order to get the results that they need. And how do you achieve this level of dynamic interactivity without risking SQL injection? This presentation will answer these questions and give you a solution involving some advanced T-SQL martial arts!

Read More »Advanced Dynamic Search Queries
CI and CD with SSDT and living to tell about it

(deprecated) CI and CD with SSDT Part 2 – SSDT Methodology and Features for DB DevOps

Meet SSDT (SQL Server Data Tools), that comes with the SQL Database Project as an effective tool for integrating the database development with the software development lifecycle. Source control, version history, unit testing, and CI/CD: SSDT comes with an answer for all.

In this session, the second of a 2-part series, we will cover the rich tools, features, and methodologies in SSDT that allow DBAs to implement a continuous database development lifecycle. We will also learn about solutions to common fears and objections coming from naysayers, common problems while starting with SSDT for the first time, and various problematic edge cases and how to solve them.

SSDT in general (SQL Server Data Tools), and the SQL Database Project specifically, are very effective tools for integrating the database development with the software development lifecycle. Source control, version history, unit testing, and CI/CD – SSDT has it all – and it’s completely free!

We all know the database is a critical element of your software product. It’s high time for that fact to be reflected in your database development lifecycle!

Read More »(deprecated) CI and CD with SSDT Part 2 – SSDT Methodology and Features for DB DevOps