sql agent internals

  • when sql agent is restarted what is actually happens behind the scene?

  • This was removed by the editor as SPAM

  • SQL Server Agent is a Windows service. So, when SQL Server Agent is started the service is turned on.  It then connects to SQL Server and looks for alerts it needs to send or jobs that should be run.  The information is stored in the MSDB database. 

    Not sure if this is at the level of information that you need.

    Aunt Kathi Data Platform MVP
    Author of Expert T-SQL Window Functions
    Simple-Talk Editor

  • thanks for reply, I was looking for what happens programatically behind the scenes.

  • If you are familiar with SQL profiler, you can set up a trace to watch the commands that SQL Server Agent sends to SQL Server.

    Aunt Kathi Data Platform MVP
    Author of Expert T-SQL Window Functions
    Simple-Talk Editor

Viewing 5 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply