Thom A - Monday, December 4, 2017 6:22 AM
Think this is more workflow, so instead of SELECT CASE should be an IF statement.
Vitor da Fonseca - Monday, December 4, 2017 6:08 AM
What is the logic behind the two jobs, how do they execute, is it via SQL Agent, windows task scheduler or some other methods?
If they are automated jobs like the SQL Agent, just add another step and do an IF check
IF This = That
BEGIN
EXEC sp_churnrate
END