How to find SQL Server agent jobs related to a database

When migrating a database to a new SQL Server instance, there are numerous steps to be taken, as I mention here.

One of the considerations is to move all Agent Jobs related to the database to the new instance.

How do we find which jobs to move, though?

 

How to decommission database or SQL Server instance

How to decommission a database

Before decommissioning a database, try to find out which application the database is related to. Either talk to the application owner or run Profiler for some time and check if anyone is using the database.

Here are some steps to take:

Check if the database is in use.

run Profiler, sp_who2, cached plans, index

Continue reading […] How to decommission database or SQL Server instance […]