Deshabilitar todos los jobs

Category: Jobs 6 years ago

Buenos días, alguien sabe como puedo deshabilitar rapidamente todos los jobs de SQL Server, gracias.

Like it on Facebook, +1 on Google, Tweet it or share this topic on other bookmarking websites.
  • Re: Deshabilitar todos los jobs

    by » 6 years ago


    Lo puedes hacer desde con un update.

    UPDATE MSDB.dbo.sysjobs
    SET Enabled = 0
    

    Y lo habilitas con

    UPDATE MSDB.dbo.sysjobs
    SET Enabled = 1
    WHERE Enabled = 0;
    GO
    

    DBASupport Team


You do not have permissions to reply to this topic.
Powered by CjForum