• You can run Extended Events to capture this type of behavior. If you want to schedule a script to run, you can do that through Azure Automation.

    "The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
    - Theodore Roosevelt

    Author of:
    SQL Server Execution Plans
    SQL Server Query Performance Tuning