Redirecting to
https://techcommunity.microsoft.com/t5/sql-server-support-blog/how-to-capture-running-queries-in-sql-server/ba-p/4454947