Forrards Blog

130 cents total
How to bulk enable or disable SQL Server agent jobs ?

It often happens that you need to disable or enable all jobs in SQL Server Agent in one shot. Script below is useful when you have dozens or hundreds of jobs. It will help you you to avoid doing this work manually.

Forrards
March 18, 2023
CONTEXT_INFO and efficient mass update on a large table with a trigger

Let`s assume we have following task – make changes to the data in a large table that has consistency checker in a trigger. Let`s look at the ways to do it in a most efficient way.Use test database in a simple recovery mode. Create two tables and fill them by random data.

Forrards
March 18, 2023
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

Subscribe to our blog

                             

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
SQL Server issue: switching partitions using the parameter with enabled replication

It’s quite an unpleasant thing that we had to face once. There was a working script, which had been functioning for a long time and did not cause any problems until a need to replicate a few directories...But let’s get into the details step by step:First of all, we create the partition function and a scheme to demonstrate very unexpected behavior of SQL Serverset nocount on;

Forrards
March 30, 2023
Database migration from on-premises Microsoft SQL Server to Azure SQL managed instance via backup/restore

This guide describes the process of database migration from Microsoft SQL Server on-premises to Azure SQL managed instance.

Anna
March 30, 2023

Let's discuss your project or resource request

                       

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.