Technical Article

Automatically Failover (Enable or Disable) Jobs Based on HADR Role

If you have a SQL Server with a High Availability solution (AlwaysOn Availability Groups, Database Mirroring, etc.), and you also have a bunch of jobs which you need to be run on the Primary server only. You need to be able to "failover" the jobs in case the Primary server is no longer Primary.

5 (1)

You rated this post out of 5. Change rating

2018-11-14 (first published: )

4,873 reads

Blogs

I like KQL and I like managing my test data – are they mates?

By

Test Data Management (TDM) is essential in software development to ensure your application runs...

Reading JSON Data with Python

By

Recently I’ve been looking at archiving some data at SQL Saturday. As a start,...

5 Advanced Online SQL DBA Training Courses to Learn in 2024 and Beyond

By

Buckle up, database wranglers! Nowadays, SQL DBAs hold the keys to a company's most...

Read the latest Blogs

Forums

Subscription to Oracle DB not working after upgrading subscriber to Oracle 19c

By rpalani65sql

Hi Replication and publisher configured on the same sql server 2022 version. Subscription to...

Script to Merger duplicate indexes

By EM2

Hello, I am trying to firgure out how to merge duplicate indexes using a...

using Openrowset to access delta files in ADLG2

By river1

Dears, I was told that I cannot access delta files in SQL Server Managed...

Visit the forum

Question of the Day

The Query Traceflag

If I want to enable a trace flag for a specific query, how do I do it?

See possible answers