Compare SQL Server Agent jobs
nawarrick
Posts: 9 New member
Hi,
Is there a way to quickly compare SQL Server Agent jobs, either with T-SQL scripts or with another server?
Thanks in Advance,
Nigel
Is there a way to quickly compare SQL Server Agent jobs, either with T-SQL scripts or with another server?
Thanks in Advance,
Nigel
Comments
Unfortuantely, we don't have anything in our arsenal that will do this I am afraid, however we do already have a feature request under ref SC-2456 which is to compare system databases.
I am afraid to say though that currently we do not know when / if this will be implemented or not, however the more people post requesting the feature the more likely it is to be implemented.
Pete
Red Gate Software Ltd
+44 (0)870 160 0037 ext. 8569
1 866 RED GATE ext. 8569
I would as well! +1
You can then use SQL DATA Compare with the option "include views"
and then set comparison keys in SQL DATA COMPARE tables & views to use the names instead of uuids
and then exclude identifier/modified/version columns from comparison
e.g
However - this does not yield any usable scripts to switch job-step order etc..
It's easier to script out the job with DROP and CREATE and alter top portion
IF EXISTS (SELECT 1 FROM msdb.dbo.sysjobs WHERE name='JOBNAME'